# SMB Brute Force Logins With Default Credentials case sensitive

**URL:** <https://forum.greenbone.net/t/smb-brute-force-logins-with-default-credentials-case-sensitive/11303>\
**Category:** Vulnerability Tests\
**Created:** [January 27, 2022, 11:38am UTC](https://forum.greenbone.net/t/smb-brute-force-logins-with-default-credentials-case-sensitive/11303 "2022-01-27T11:38:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![panajo1017](https://forum.greenbone.net/letter_avatar/panajo1017/32/6_449c533f586939b6e5f246632a46421f.png) [@panajo1017](https://forum.greenbone.net/u/panajo1017)\
**Post date:** [January 27, 2022, 11:38am UTC](https://forum.greenbone.net/t/smb-brute-force-logins-with-default-credentials-case-sensitive/11303/1 "2022-01-27T11:38:21Z")

</div>

Hi, AFASK, Windows usernames are not case sensitive, why are the credentials used for `SMB Brute Force Logins With Default Credentials` in `smb_default_credentials.inc` are case sensitive?

---

<div class="post-metadata">

**Author:** ![cfi](https://forum.greenbone.net/letter_avatar/cfi/32/6_449c533f586939b6e5f246632a46421f.png) [@cfi](https://forum.greenbone.net/u/cfi)\
**Post date:** [January 27, 2022, 12:15pm UTC](https://forum.greenbone.net/t/smb-brute-force-logins-with-default-credentials-case-sensitive/11303/2 "2022-01-27T12:15:48Z")

</div>

Most likely because the VT using this .inc include is also checking for default credentials on Linux/Unix systems which are case sensitive.

---

<div class="post-metadata">

**Author:** ![panajo1017](https://forum.greenbone.net/letter_avatar/panajo1017/32/6_449c533f586939b6e5f246632a46421f.png) [@panajo1017](https://forum.greenbone.net/u/panajo1017)\
**Post date:** [January 27, 2022, 1:22pm UTC](https://forum.greenbone.net/t/smb-brute-force-logins-with-default-credentials-case-sensitive/11303/3 "2022-01-27T13:22:20Z")

</div>

But I only found `gb_default_smb_credentials.nasl` use this include, and the credentials field format is exclusive to Windows:

`user;pass;vendor(multiple vendors separated by ",")`

And, if it is actually used by the VTs that check for default credentials on Linux/Unix, why don’t you use another dict to reduce the number of requests in `gb_default_smb_credentials.nasl`?

---

<div class="post-metadata">

**Author:** ![cfi](https://forum.greenbone.net/letter_avatar/cfi/32/6_449c533f586939b6e5f246632a46421f.png) [@cfi](https://forum.greenbone.net/u/cfi)\
**Post date:** [January 27, 2022, 1:30pm UTC](https://forum.greenbone.net/t/smb-brute-force-logins-with-default-credentials-case-sensitive/11303/4 "2022-01-27T13:30:21Z")

</div>

Please note that the .inc was written by an external contributor and around 7 to 8 years so we can’t give much background information on the design decision for it.

The `microsoft` string itself in that include is currently unused and as explained previously the VT is running against Windows as well as Linux/Unix systems.

Saving a few requests but risking false negatives is something i’m personally always trying to avoid.

---

<div class="post-metadata">

**Author:** ![panajo1017](https://forum.greenbone.net/letter_avatar/panajo1017/32/6_449c533f586939b6e5f246632a46421f.png) [@panajo1017](https://forum.greenbone.net/u/panajo1017)\
**Post date:** [January 27, 2022, 1:56pm UTC](https://forum.greenbone.net/t/smb-brute-force-logins-with-default-credentials-case-sensitive/11303/5 "2022-01-27T13:56:02Z")

</div>

Thank you. I miss the point that `gb_default_smb_credentials.nasl` (but not others) uses the .inc also running against Linux/Unix systems.

I suggest to reduce the requests when we know that it is actually useless. This also reduces false negatives when a target blocks the request after a number of failure login attempts.

---

<div class="post-metadata">

**Author:** ![system](https://forum.greenbone.net/uploads/default/original/2X/4/4660e797edfaea797a8c9965246072ea26732804.png) [@system](https://forum.greenbone.net/u/system)\
**Post date:** [April 7, 2025, 10:13am UTC](https://forum.greenbone.net/t/smb-brute-force-logins-with-default-credentials-case-sensitive/11303/6 "2025-04-07T10:13:39Z")

</div>

Closed on April 7, 2025, 10:13am UTC


