Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-12-2024 02:21

General

  • Target

    JaffaCakes118_3c25bc661050f4351c5d5c213a8811c3f09471cf27eeb90014a84ec332b3fce9.exe

  • Size

    237KB

  • MD5

    42b410532b41241c0ea3bab2a448ba26

  • SHA1

    2b7258ab8a0decda5cbf7d92d7506089df88c739

  • SHA256

    3c25bc661050f4351c5d5c213a8811c3f09471cf27eeb90014a84ec332b3fce9

  • SHA512

    a211e69bc11dfff8e9f226eeba322c6719e76533adfc3274902b7d14cf3589b7b2074c697fecabb66e803a2d7b2f2d88a5f5e49c1d857abbacec888afe3f4231

  • SSDEEP

    3072:i7Ms8zFqBRFmDU/YxGdypOiOCW7Qse0XkMT39UYpWrxpzbgqru2sxkgaBChApZaf:V1JqBRFmDU/cNEzHpuzbgwujigaLwVf

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3c25bc661050f4351c5d5c213a8811c3f09471cf27eeb90014a84ec332b3fce9.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3c25bc661050f4351c5d5c213a8811c3f09471cf27eeb90014a84ec332b3fce9.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ipmvgyg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4100
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xmrsmuxq.exe" C:\Windows\SysWOW64\ipmvgyg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ipmvgyg binPath= "C:\Windows\SysWOW64\ipmvgyg\xmrsmuxq.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3c25bc661050f4351c5d5c213a8811c3f09471cf27eeb90014a84ec332b3fce9.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4528
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ipmvgyg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1260
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ipmvgyg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1788
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:1380
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 748 -s 1208
      2⤵
      • Program crash
      PID:4272
  • C:\Windows\SysWOW64\ipmvgyg\xmrsmuxq.exe
    C:\Windows\SysWOW64\ipmvgyg\xmrsmuxq.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3c25bc661050f4351c5d5c213a8811c3f09471cf27eeb90014a84ec332b3fce9.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4160
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4492
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4160 -s 508
      2⤵
      • Program crash
      PID:1064
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 748 -ip 748
    1⤵
      PID:2700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 4160 -ip 4160
      1⤵
        PID:3028

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\xmrsmuxq.exe

        Filesize

        12.7MB

        MD5

        b135294b92f468caa35c9770fd4545f3

        SHA1

        ef8e2504d1ce634c7f06875cd1c2d6b194f6e00e

        SHA256

        180f91d76556fd159dc67d5e40cc97745f29b90b0098309ed484555eedeeb2e5

        SHA512

        5b68a0857d155a0ab61110af101b767a6d58fd907198e25f533e551094d1ab16912abe286407f27d25cc269ab210ecf6d11b68e41f96c0c8e7164f542b8b8458

      • memory/748-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/748-12-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

      • memory/748-1-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/748-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/748-13-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/748-0-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

      • memory/748-11-0x0000000000400000-0x0000000000444000-memory.dmp

        Filesize

        272KB

      • memory/4160-7-0x0000000000400000-0x0000000000444000-memory.dmp

        Filesize

        272KB

      • memory/4160-8-0x0000000000400000-0x0000000000444000-memory.dmp

        Filesize

        272KB

      • memory/4160-6-0x0000000000400000-0x0000000000444000-memory.dmp

        Filesize

        272KB

      • memory/4160-16-0x0000000000400000-0x0000000000444000-memory.dmp

        Filesize

        272KB

      • memory/4492-9-0x0000000000810000-0x0000000000825000-memory.dmp

        Filesize

        84KB

      • memory/4492-17-0x0000000000810000-0x0000000000825000-memory.dmp

        Filesize

        84KB

      • memory/4492-18-0x0000000000810000-0x0000000000825000-memory.dmp

        Filesize

        84KB