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
    22-12-2024 00:18

General

  • Target

    JaffaCakes118_61bca9b7bb7ff8784bb4457dabe18c22a906ca2355a1866e4e2edaea8560b6c4.exe

  • Size

    187KB

  • MD5

    a8b1c1d06132f225e9f6bf51a34e04d6

  • SHA1

    7cce87816f01af8dd37d3174bed6dc7d6b386114

  • SHA256

    61bca9b7bb7ff8784bb4457dabe18c22a906ca2355a1866e4e2edaea8560b6c4

  • SHA512

    2c749cfa18f9ea5fad1e42d928f53a8b131423d3b3f6811e102955fea43bcbcfa6c03cc8d440c3e2188acd4c3818665356a6bef195b633ad08a681452fb6a702

  • SSDEEP

    3072:J7Xjs7nz7xT/bchc0+aHM7IdudDpwjvT1MHemjIGnipZa9uD6Vdyhkd:Bs7nz7xT/bc+IHuDNpST1MHrjPniwVf

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_61bca9b7bb7ff8784bb4457dabe18c22a906ca2355a1866e4e2edaea8560b6c4.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_61bca9b7bb7ff8784bb4457dabe18c22a906ca2355a1866e4e2edaea8560b6c4.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4472
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vmzaiarp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2644
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jlfuqmiz.exe" C:\Windows\SysWOW64\vmzaiarp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2616
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vmzaiarp binPath= "C:\Windows\SysWOW64\vmzaiarp\jlfuqmiz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_61bca9b7bb7ff8784bb4457dabe18c22a906ca2355a1866e4e2edaea8560b6c4.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:476
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vmzaiarp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3284
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vmzaiarp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1216
    • 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:4868
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4472 -s 1036
      2⤵
      • Program crash
      PID:544
  • C:\Windows\SysWOW64\vmzaiarp\jlfuqmiz.exe
    C:\Windows\SysWOW64\vmzaiarp\jlfuqmiz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_61bca9b7bb7ff8784bb4457dabe18c22a906ca2355a1866e4e2edaea8560b6c4.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4204
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:248
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4204 -s 512
      2⤵
      • Program crash
      PID:4964
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4472 -ip 4472
    1⤵
      PID:3024
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4204 -ip 4204
      1⤵
        PID:4612

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.5MB

        MD5

        c2b3ea9952241700206743b0120568e6

        SHA1

        b10bcefa1c62a5f319b91aa20c05a25ad25e42a6

        SHA256

        e7105149bf99f05f5d1761c1a5642dcf42e7fe1d922bf23a62900f19d72552e4

        SHA512

        c9f268abfbf0561f8c96cbff34257c6615181e6080f586f7ad0c4ed3909076e733bf46ca6c881f96a9f1ea264b813ee386440a6fc665595948ece5f5cafe7367

      • memory/248-9-0x0000000000B50000-0x0000000000B65000-memory.dmp

        Filesize

        84KB

      • memory/248-18-0x0000000000B50000-0x0000000000B65000-memory.dmp

        Filesize

        84KB

      • memory/248-17-0x0000000000B50000-0x0000000000B65000-memory.dmp

        Filesize

        84KB

      • memory/4204-6-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/4204-7-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/4204-8-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/4204-16-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/4472-0-0x00000000005C0000-0x00000000005CD000-memory.dmp

        Filesize

        52KB

      • memory/4472-11-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

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

        Filesize

        84KB

      • memory/4472-13-0x0000000002070000-0x0000000002083000-memory.dmp

        Filesize

        76KB

      • memory/4472-12-0x00000000005C0000-0x00000000005CD000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/4472-1-0x0000000002070000-0x0000000002083000-memory.dmp

        Filesize

        76KB