Analysis

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

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

General

  • Target

    JaffaCakes118_49b1fc622e0df38a6db01ee66e1741dbd95ec9a489da4c0ea40e5929d0e7efc7.exe

  • Size

    343KB

  • MD5

    0c4c991cfff91ea0d5a0d965615045f1

  • SHA1

    6b2eaec01ddd2e6fabb0fb0a0f9b5a4ea9eb61f0

  • SHA256

    49b1fc622e0df38a6db01ee66e1741dbd95ec9a489da4c0ea40e5929d0e7efc7

  • SHA512

    86051fe550e600e349cd5caedca0656cf9133650cd66e5e2e3d36a7efc2d47e11c2bb3083322cd12a152f3aec548d0fa0bd2377bdeaea93c3a291718bc176ed9

  • SSDEEP

    6144:i1wGn2+VYOw4WE0NpkAk6o4odsHvNU1grZ4BwY+q:iSG2+o57NKAk6o4odsHvNB4Btb

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_49b1fc622e0df38a6db01ee66e1741dbd95ec9a489da4c0ea40e5929d0e7efc7.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_49b1fc622e0df38a6db01ee66e1741dbd95ec9a489da4c0ea40e5929d0e7efc7.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5056
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rsavssie\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:844
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oxgocucl.exe" C:\Windows\SysWOW64\rsavssie\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2316
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rsavssie binPath= "C:\Windows\SysWOW64\rsavssie\oxgocucl.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_49b1fc622e0df38a6db01ee66e1741dbd95ec9a489da4c0ea40e5929d0e7efc7.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rsavssie "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rsavssie
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1792
    • 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:4224
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5056 -s 1040
      2⤵
      • Program crash
      PID:3672
  • C:\Windows\SysWOW64\rsavssie\oxgocucl.exe
    C:\Windows\SysWOW64\rsavssie\oxgocucl.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_49b1fc622e0df38a6db01ee66e1741dbd95ec9a489da4c0ea40e5929d0e7efc7.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3532
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2848
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3532 -s 532
      2⤵
      • Program crash
      PID:4544
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 5056 -ip 5056
    1⤵
      PID:3780
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3532 -ip 3532
      1⤵
        PID:2204

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.8MB

        MD5

        9eb003ae615e5884f5a837f742a5c60c

        SHA1

        247ed4fab3925b0f9ed19bd9fc78c719918c1eb3

        SHA256

        cf155fc162bd697ed190f9bb3bb6e14e249966ddce1b1b90989c9599952489a4

        SHA512

        47ecb23c380593be6ce9528639db24d927d4fc524cf1f7e6a16d1e4130c15d73c4c9b495b2196cc4f07b524ba087361fea9c79c83e2e29cf336313ebb2c1357f

      • memory/2848-11-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

        Filesize

        84KB

      • memory/2848-13-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

        Filesize

        84KB

      • memory/2848-14-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

        Filesize

        84KB

      • memory/3532-15-0x0000000000400000-0x00000000008FA000-memory.dmp

        Filesize

        5.0MB

      • memory/5056-1-0x0000000000BC0000-0x0000000000CC0000-memory.dmp

        Filesize

        1024KB

      • memory/5056-2-0x0000000000BA0000-0x0000000000BB3000-memory.dmp

        Filesize

        76KB

      • memory/5056-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/5056-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/5056-8-0x0000000000BA0000-0x0000000000BB3000-memory.dmp

        Filesize

        76KB

      • memory/5056-7-0x0000000000400000-0x00000000008FA000-memory.dmp

        Filesize

        5.0MB