Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 07:56

General

  • Target

    JaffaCakes118_c077d664f953607162a99c61e05cd65110f848cbfcc4140ab6d0429fca29f0dc.exe

  • Size

    157KB

  • MD5

    3bb0a31288d781001d33aeedf06dd8dc

  • SHA1

    981e01149abcd4418142f41758787cf91c97e9c5

  • SHA256

    c077d664f953607162a99c61e05cd65110f848cbfcc4140ab6d0429fca29f0dc

  • SHA512

    c0e8728c316b22fb7ac1e3fde375217240c9ac6f572c8af843f068cde53193534070a62484cbb504ece5e0f09a7d06256e2c940cf36a649741716b001d796c3d

  • SSDEEP

    1536:o7iZ6fjIz/BBE9T6WKPeazpJn1ro7PAak0Am4xz3eyfAQpCJyGUx8z6CDzMAOjM0:+EtUJfg0sz3Jt0JVNxDOI5R4T9

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 4 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_c077d664f953607162a99c61e05cd65110f848cbfcc4140ab6d0429fca29f0dc.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c077d664f953607162a99c61e05cd65110f848cbfcc4140ab6d0429fca29f0dc.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:532
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nqmpmmdk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4344
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ogyfevgn.exe" C:\Windows\SysWOW64\nqmpmmdk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:264
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nqmpmmdk binPath= "C:\Windows\SysWOW64\nqmpmmdk\ogyfevgn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c077d664f953607162a99c61e05cd65110f848cbfcc4140ab6d0429fca29f0dc.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3492
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nqmpmmdk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nqmpmmdk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3752
    • 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:1796
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 532 -s 1044
      2⤵
      • Program crash
      PID:2624
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 532 -s 672
      2⤵
      • Program crash
      PID:396
  • C:\Windows\SysWOW64\nqmpmmdk\ogyfevgn.exe
    C:\Windows\SysWOW64\nqmpmmdk\ogyfevgn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c077d664f953607162a99c61e05cd65110f848cbfcc4140ab6d0429fca29f0dc.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5040
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2752
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5040 -s 556
      2⤵
      • Program crash
      PID:4532
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5040 -s 572
      2⤵
      • Program crash
      PID:912
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 532 -ip 532
    1⤵
      PID:5000
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 532 -ip 532
      1⤵
        PID:1664
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 5040 -ip 5040
        1⤵
          PID:1020
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 548 -p 5040 -ip 5040
          1⤵
            PID:2632

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            12.6MB

            MD5

            0061ab5e54932eb2ca07bd655643e244

            SHA1

            67fb78479e3c70c0f9d99abcb8ce4e9b1f165650

            SHA256

            09d55d711e20bf18a0fa2c557a2564208639169d16bfe301055e64f15aeab163

            SHA512

            9fa53f1bc8aff41a459813dafeac8907674caf965b3d74f4a8da4de69e8d9d26970196bf995aca91084e79b0d6bc2dee74783b98912bd4256613f21c86410076

          • memory/532-8-0x00000000021A0000-0x00000000021B3000-memory.dmp

            Filesize

            76KB

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

            Filesize

            84KB

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

            Filesize

            76KB

          • memory/532-7-0x00000000004D0000-0x00000000004DD000-memory.dmp

            Filesize

            52KB

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

            Filesize

            84KB

          • memory/532-0-0x00000000004D0000-0x00000000004DD000-memory.dmp

            Filesize

            52KB

          • memory/532-6-0x0000000000400000-0x0000000000433000-memory.dmp

            Filesize

            204KB

          • memory/2752-15-0x0000000001040000-0x0000000001055000-memory.dmp

            Filesize

            84KB

          • memory/2752-13-0x0000000001040000-0x0000000001055000-memory.dmp

            Filesize

            84KB

          • memory/2752-16-0x0000000001040000-0x0000000001055000-memory.dmp

            Filesize

            84KB

          • memory/5040-10-0x0000000000400000-0x0000000000433000-memory.dmp

            Filesize

            204KB

          • memory/5040-12-0x0000000000400000-0x0000000000433000-memory.dmp

            Filesize

            204KB

          • memory/5040-11-0x0000000000400000-0x0000000000433000-memory.dmp

            Filesize

            204KB

          • memory/5040-18-0x0000000000400000-0x0000000000433000-memory.dmp

            Filesize

            204KB