Analysis

  • max time kernel
    150s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240611-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25/06/2024, 17:14

General

  • Target
    0ee3b729ec821e3c2cc92e2604836b13_JaffaCakes118.exe
  • Size 12.7MB
  • Sample240625-vschksvglr
  • SHA256 1a492ad6535cd37ef709e803d55e4bf9086eac1ffe5d5b3f93fd54c2e0578733
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • 43.231.4.7

  • lazystax.ru

Signatures

  • Tofsee

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

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\0ee3b729ec821e3c2cc92e2604836b13_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\0ee3b729ec821e3c2cc92e2604836b13_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:540
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kfkrmmqx\
      2⤵
        PID:2248
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fkxxazpu.exe" C:\Windows\SysWOW64\kfkrmmqx\
        2⤵
          PID:1072
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create kfkrmmqx binPath= "C:\Windows\SysWOW64\kfkrmmqx\fkxxazpu.exe /d\"C:\Users\Admin\AppData\Local\Temp\0ee3b729ec821e3c2cc92e2604836b13_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2788
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description kfkrmmqx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:5024
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start kfkrmmqx
          2⤵
          • Launches sc.exe
          PID:2892
        • 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
          PID:3788
      • C:\Windows\SysWOW64\kfkrmmqx\fkxxazpu.exe
        C:\Windows\SysWOW64\kfkrmmqx\fkxxazpu.exe /d"C:\Users\Admin\AppData\Local\Temp\0ee3b729ec821e3c2cc92e2604836b13_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1868
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4596

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            fkxxazpu.exe

            • Path C:\Users\Admin\AppData\Local\Temp\fkxxazpu.exe
            • Size 13.4MB
            • SHA256 8e8a8832f93c61a5a848a87c8a6c93d6b8e486dd6678940143bdd8beae10c311
            • MD5 SHA1 SHA512 SSDEEP

            memory/540-16-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/540-3-0x0000000000890000-0x0000000000891000-memory.dmp

            memory/540-2-0x0000000000880000-0x0000000000881000-memory.dmp

            memory/540-1-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/540-0-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/1868-7-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/1868-12-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/1868-11-0x000000005F000000-0x000000005F011000-memory.dmp

            memory/4596-9-0x0000000000BC0000-0x0000000000BD5000-memory.dmp

            memory/4596-15-0x0000000000BC0000-0x0000000000BD5000-memory.dmp

            memory/4596-18-0x0000000000BC0000-0x0000000000BD5000-memory.dmp

            memory/4596-19-0x0000000000BC0000-0x0000000000BD5000-memory.dmp

            memory/4596-20-0x0000000000BC0000-0x0000000000BD5000-memory.dmp