Analysis

  • max time kernel
    147s
  • 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
    22-12-2024 09:50

General

  • Target

    JaffaCakes118_0f7f7ec9c469f0b7839ad8da6b4d0c97cd05fe18cc99099a7bf4ce62cff18daa.exe

  • Size

    159KB

  • MD5

    e54caf8c5b1fefb3289f1c743775a7f7

  • SHA1

    9af113a01ef46432502ab37f61e7a8fa15479a7a

  • SHA256

    0f7f7ec9c469f0b7839ad8da6b4d0c97cd05fe18cc99099a7bf4ce62cff18daa

  • SHA512

    fef0022c4d1f2c85adec44138ef89e1a2bd6117892dc1ebf5d21866828b3c3c7d0f5fdb97f5b2d965873aca280a923e781ea3c69988fd6b43c5f55b9bc1becc3

  • SSDEEP

    3072:J7+69EJhEjeblBHZ57ODtgNQT0kP+NN34Pu3/d042XL:FEJhEjeRV7ODMkP+NK2d0P

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_0f7f7ec9c469f0b7839ad8da6b4d0c97cd05fe18cc99099a7bf4ce62cff18daa.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0f7f7ec9c469f0b7839ad8da6b4d0c97cd05fe18cc99099a7bf4ce62cff18daa.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4752
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vlvrceau\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3152
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ncdjwhba.exe" C:\Windows\SysWOW64\vlvrceau\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vlvrceau binPath= "C:\Windows\SysWOW64\vlvrceau\ncdjwhba.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0f7f7ec9c469f0b7839ad8da6b4d0c97cd05fe18cc99099a7bf4ce62cff18daa.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1104
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vlvrceau "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3860
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vlvrceau
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2980
    • 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:1696
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4752 -s 1036
      2⤵
      • Program crash
      PID:2736
  • C:\Windows\SysWOW64\vlvrceau\ncdjwhba.exe
    C:\Windows\SysWOW64\vlvrceau\ncdjwhba.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0f7f7ec9c469f0b7839ad8da6b4d0c97cd05fe18cc99099a7bf4ce62cff18daa.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2752
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4784
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2752 -s 532
      2⤵
      • Program crash
      PID:5036
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4752 -ip 4752
    1⤵
      PID:1816
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 2752 -ip 2752
      1⤵
        PID:5104

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.6MB

        MD5

        ebcf45c180235fae49b00aea53ee17c4

        SHA1

        de981de51767d691553a8af87bc60a346747b074

        SHA256

        de3f9ca53541952d578af1d44201a99c94de846389195ad2079b373697c9193f

        SHA512

        dca67ea2112f6120a7d66cb48e6bc2d064d338a311a25a44633026f212bdaf7be8ed490d2824f316d11bad45ed40604e619aacd7f3e81022bc5baff9c01ad453

      • memory/2752-13-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/2752-7-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/2752-6-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/4752-14-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/4752-1-0x00000000005E0000-0x00000000005F3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4752-0-0x00000000005D0000-0x00000000005DD000-memory.dmp

        Filesize

        52KB

      • memory/4752-15-0x00000000005D0000-0x00000000005DD000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/4752-16-0x00000000005E0000-0x00000000005F3000-memory.dmp

        Filesize

        76KB

      • memory/4784-8-0x00000000001B0000-0x00000000001C5000-memory.dmp

        Filesize

        84KB

      • memory/4784-11-0x00000000001B0000-0x00000000001C5000-memory.dmp

        Filesize

        84KB

      • memory/4784-18-0x00000000001B0000-0x00000000001C5000-memory.dmp

        Filesize

        84KB

      • memory/4784-19-0x00000000001B0000-0x00000000001C5000-memory.dmp

        Filesize

        84KB

      • memory/4784-20-0x00000000001B0000-0x00000000001C5000-memory.dmp

        Filesize

        84KB