Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 04:46

General

  • Target

    JaffaCakes118_e062e099f7f60e5d9691feeba382b35462333681617fcd28b01d979af3cac0da.exe

  • Size

    179KB

  • MD5

    a87dea05702e243412ac9b970fb39a1c

  • SHA1

    941366aa542c77c5b5ef4d4efe863ba3fec2d72f

  • SHA256

    e062e099f7f60e5d9691feeba382b35462333681617fcd28b01d979af3cac0da

  • SHA512

    184d13163c8cdfcc2008cd518e350016d6976530412c0bd4d346426c08b19d1c48630ed26f718208047cc90462055c07919f1be3d725412b97673e093a9ee52c

  • SSDEEP

    3072:Y7w4SLqj70RIT1KorqzMWrj7KxClkp7lHDs9Z2D21jl1:9qj7O60oG7KkypG9Z2D21

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_e062e099f7f60e5d9691feeba382b35462333681617fcd28b01d979af3cac0da.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e062e099f7f60e5d9691feeba382b35462333681617fcd28b01d979af3cac0da.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1964
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nljfzzbh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:372
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jpknwffa.exe" C:\Windows\SysWOW64\nljfzzbh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2104
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nljfzzbh binPath= "C:\Windows\SysWOW64\nljfzzbh\jpknwffa.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e062e099f7f60e5d9691feeba382b35462333681617fcd28b01d979af3cac0da.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nljfzzbh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nljfzzbh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5048
    • 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:4568
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1964 -s 664
      2⤵
      • Program crash
      PID:5112
  • C:\Windows\SysWOW64\nljfzzbh\jpknwffa.exe
    C:\Windows\SysWOW64\nljfzzbh\jpknwffa.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e062e099f7f60e5d9691feeba382b35462333681617fcd28b01d979af3cac0da.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4620
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2052
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4620 -s 548
      2⤵
      • Program crash
      PID:864
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4620 -ip 4620
    1⤵
      PID:3896
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 1964 -ip 1964
      1⤵
        PID:872

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.4MB

        MD5

        a6d26727fd033e897ee728c11a07d483

        SHA1

        394e053e6160c41cc24390c8e58aeb5dd9d1564a

        SHA256

        98fb7ee88855d0be91988cba611cbfda4dbd03904218218e1e405be1f7356f37

        SHA512

        96e86dc643de2109706cba5ce6e8506980aa999c37a40c43b77907f26fb70b13e1f7775c717a3adeaf4316f6b5d7d94f28cd23782563bdd031cdc1a8ee61eaf6

      • memory/1964-14-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1964-1-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

      • memory/1964-0-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/1964-15-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1964-13-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/1964-12-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/2052-20-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/2052-8-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/2052-11-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/2052-18-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/2052-19-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/4620-6-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/4620-17-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/4620-7-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB