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
    26-12-2024 21:47

General

  • Target

    JaffaCakes118_149a9e09d9ae785e2143685d52fe50243e0b981cf5ad5890fb6b80818ca80328.exe

  • Size

    245KB

  • MD5

    5d66b3351af42903b27bcb20cb3d0ab4

  • SHA1

    247621e2325573507fdb548943a4533c4a956c4c

  • SHA256

    149a9e09d9ae785e2143685d52fe50243e0b981cf5ad5890fb6b80818ca80328

  • SHA512

    ec4086c62a5fc68e103ad4b929358240092194bfd6709995724118df0c685a49ecbed4502ae86d65eb5d945f2f097ad3eba446c12247e69aafdffefa254e37b7

  • SSDEEP

    6144:G2xmE8GXkonz4RMSwuzbgwu6QigabwVf:G0mE807nJunn5

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_149a9e09d9ae785e2143685d52fe50243e0b981cf5ad5890fb6b80818ca80328.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_149a9e09d9ae785e2143685d52fe50243e0b981cf5ad5890fb6b80818ca80328.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2444
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cpmlzgdt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4800
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ibmcnkdw.exe" C:\Windows\SysWOW64\cpmlzgdt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2592
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cpmlzgdt binPath= "C:\Windows\SysWOW64\cpmlzgdt\ibmcnkdw.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_149a9e09d9ae785e2143685d52fe50243e0b981cf5ad5890fb6b80818ca80328.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1072
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cpmlzgdt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cpmlzgdt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4160
    • 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:364
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2444 -s 1040
      2⤵
      • Program crash
      PID:4128
  • C:\Windows\SysWOW64\cpmlzgdt\ibmcnkdw.exe
    C:\Windows\SysWOW64\cpmlzgdt\ibmcnkdw.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_149a9e09d9ae785e2143685d52fe50243e0b981cf5ad5890fb6b80818ca80328.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3148
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3812
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3148 -s 508
      2⤵
      • Program crash
      PID:228
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2444 -ip 2444
    1⤵
      PID:3136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 3148 -ip 3148
      1⤵
        PID:556

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        1d17b75f777bfe40f1b4dcee7ca09444

        SHA1

        fe9f232a4824247bef94737d13d94bb10055f648

        SHA256

        e1933001cd2eb151a37486a527fa3e0394feefb5ad0b77ab155d708f6b754bd0

        SHA512

        3430953e049d2ec46cafbdedc07c9f1ded8821c0568e81bbc7c743896eccd75dce6d15a49a82b809a828e9a28ad9a217f37af5531746d49363c2d8ef406f9a80

      • memory/2444-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2444-1-0x00000000021C0000-0x00000000021D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2444-0-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

      • memory/2444-14-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/2444-15-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

      • memory/2444-16-0x00000000021C0000-0x00000000021D3000-memory.dmp

        Filesize

        76KB

      • memory/3148-7-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/3148-13-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/3148-6-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/3812-11-0x0000000000AC0000-0x0000000000AD5000-memory.dmp

        Filesize

        84KB

      • memory/3812-8-0x0000000000AC0000-0x0000000000AD5000-memory.dmp

        Filesize

        84KB

      • memory/3812-18-0x0000000000AC0000-0x0000000000AD5000-memory.dmp

        Filesize

        84KB

      • memory/3812-19-0x0000000000AC0000-0x0000000000AD5000-memory.dmp

        Filesize

        84KB

      • memory/3812-20-0x0000000000AC0000-0x0000000000AD5000-memory.dmp

        Filesize

        84KB