Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 13:59

General

  • Target

    JaffaCakes118_73ce70fc473c2e6bad991731f810ba9d3ef400fd3788b4e45339068f69807b86.exe

  • Size

    287KB

  • MD5

    508ea1cca364e2f73832dd3ef1160a84

  • SHA1

    daab9d02720b6609f64628388611d09e02433633

  • SHA256

    73ce70fc473c2e6bad991731f810ba9d3ef400fd3788b4e45339068f69807b86

  • SHA512

    39bec63482d99132d5ac18b5fdd8e22e01f5dc02b9ee458d37b2d271494356d23f6f7abe17ac020b45657fea476b52973a847005ec6ca4f1a576d2498fdc634f

  • SSDEEP

    6144:uuj9qXmzAuZ8PT6HMgTp915tMvuDH4PKa7tqY:3EXrE8PT6HMgTp96vaY77o

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_73ce70fc473c2e6bad991731f810ba9d3ef400fd3788b4e45339068f69807b86.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_73ce70fc473c2e6bad991731f810ba9d3ef400fd3788b4e45339068f69807b86.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1620
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nuelmtdk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2388
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uniuyny.exe" C:\Windows\SysWOW64\nuelmtdk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4024
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nuelmtdk binPath= "C:\Windows\SysWOW64\nuelmtdk\uniuyny.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_73ce70fc473c2e6bad991731f810ba9d3ef400fd3788b4e45339068f69807b86.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nuelmtdk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3468
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nuelmtdk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      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
      • System Location Discovery: System Language Discovery
      PID:3196
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1620 -s 1340
      2⤵
      • Program crash
      PID:220
  • C:\Windows\SysWOW64\nuelmtdk\uniuyny.exe
    C:\Windows\SysWOW64\nuelmtdk\uniuyny.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_73ce70fc473c2e6bad991731f810ba9d3ef400fd3788b4e45339068f69807b86.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:392
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:536
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 392 -s 516
      2⤵
      • Program crash
      PID:4732
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1620 -ip 1620
    1⤵
      PID:3864
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 392 -ip 392
      1⤵
        PID:3176

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        f4485b2859bea22ed5b5afa924871e13

        SHA1

        a5e07976622dda771857e252ed14cf83b2d7937f

        SHA256

        82012f4a6d764b5c704bb24440c748f0fe3c0db517e8777f691491b9a11486b5

        SHA512

        c9055953b5b021b25e344e873498f127fe6605d9d2ca4d34be2ee6e5ba9673b73e7decf7cb2239980b83b915566d61a18213de8489cb0fcff3206017fb7ee8fd

      • memory/392-15-0x0000000000400000-0x0000000002B40000-memory.dmp

        Filesize

        39.2MB

      • memory/536-13-0x0000000000C90000-0x0000000000CA5000-memory.dmp

        Filesize

        84KB

      • memory/536-11-0x0000000000C90000-0x0000000000CA5000-memory.dmp

        Filesize

        84KB

      • memory/536-14-0x0000000000C90000-0x0000000000CA5000-memory.dmp

        Filesize

        84KB

      • memory/1620-2-0x00000000048A0000-0x00000000048B3000-memory.dmp

        Filesize

        76KB

      • memory/1620-1-0x0000000002D90000-0x0000000002E90000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/1620-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1620-8-0x00000000048A0000-0x00000000048B3000-memory.dmp

        Filesize

        76KB

      • memory/1620-7-0x0000000000400000-0x0000000002B40000-memory.dmp

        Filesize

        39.2MB