Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delay execution: add Beep WinAPI #915

Open
fariss opened this issue Jul 26, 2024 · 0 comments
Open

delay execution: add Beep WinAPI #915

fariss opened this issue Jul 26, 2024 · 0 comments

Comments

@fariss
Copy link

fariss commented Jul 26, 2024

Summary

The Beep WinAPI allows programs to generate simple beep sounds through the computer's speaker. It takes two parameters: frequency (in Hertz) and duration (in milliseconds).

BOOL Beep(
  [in] DWORD dwFreq,
  [in] DWORD dwDuration
);

When called, Beep invokes NtDelayExecution, which pauses the execution of the calling thread for a specified duration.

Additional context

https://thehackernews.com/2023/02/experts-warn-of-beep-new-evasive.html
https://securityliterate.com/beeeeeeeeep-how-malware-uses-the-beep-winapi-function-for-anti-analysis/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant