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
    22-12-2024 02:47

General

  • Target

    JaffaCakes118_e8775ba19c3e870f2d2b82ded8a857c1e398225c3cb2b3525d20e70441f9db48.exe

  • Size

    238KB

  • MD5

    46b1ff10b780d1ce8d7be7ef3b86acb0

  • SHA1

    e4e1e2e1c964f498f1bb9227ed48a7202e7a45a1

  • SHA256

    e8775ba19c3e870f2d2b82ded8a857c1e398225c3cb2b3525d20e70441f9db48

  • SHA512

    c6b57a4091205920954add28de487ba5e103cfdf688067ecf6431a41ccd1398ec24277e478d4df939b1c2e6a984bba838747a8ab4cd978aaeb8de6a78fe0a256

  • SSDEEP

    3072:R7iI0UsrZRD2ALLqOju9/DyF6IZKVggjcGkNIVqI7sxkgaBChMpZa9uD6Vdyhkq:YHUsrZRDnLXu9GMSy7ITsq7igavwVf

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_e8775ba19c3e870f2d2b82ded8a857c1e398225c3cb2b3525d20e70441f9db48.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e8775ba19c3e870f2d2b82ded8a857c1e398225c3cb2b3525d20e70441f9db48.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4156
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\spjuasmp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4216
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\akpcjeds.exe" C:\Windows\SysWOW64\spjuasmp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:220
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create spjuasmp binPath= "C:\Windows\SysWOW64\spjuasmp\akpcjeds.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e8775ba19c3e870f2d2b82ded8a857c1e398225c3cb2b3525d20e70441f9db48.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description spjuasmp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start spjuasmp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1340
    • 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:2172
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4156 -s 664
      2⤵
      • Program crash
      PID:4232
  • C:\Windows\SysWOW64\spjuasmp\akpcjeds.exe
    C:\Windows\SysWOW64\spjuasmp\akpcjeds.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e8775ba19c3e870f2d2b82ded8a857c1e398225c3cb2b3525d20e70441f9db48.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2964
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:432
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2964 -s 512
      2⤵
      • Program crash
      PID:4152
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 4156 -ip 4156
    1⤵
      PID:2848
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 2964 -ip 2964
      1⤵
        PID:1832

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.1MB

        MD5

        972f9c4c2abcbeafa5329bb2cd687309

        SHA1

        5303a2efe8fba03d15d7cc761033e873bd69cf23

        SHA256

        5e39f51b53eb83feea7b7b0eb4bce463945144f5fa117dd38ce40935cd595df3

        SHA512

        dac0015692e2633b686c253d01e2afebb01f4842c47f21f1cfbb76a27ef6b4746ab88dc030647d3ff7a12c45ba952dfb277886c38963dcb702fdc3fd9ef043f7

      • memory/432-21-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

        Filesize

        84KB

      • memory/432-20-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

        Filesize

        84KB

      • memory/432-9-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

        Filesize

        84KB

      • memory/432-19-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

        Filesize

        84KB

      • memory/432-13-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

        Filesize

        84KB

      • memory/2964-18-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/2964-6-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/2964-7-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/2964-8-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/4156-12-0x00000000006F0000-0x00000000006FD000-memory.dmp

        Filesize

        52KB

      • memory/4156-15-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB

      • memory/4156-14-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/4156-16-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4156-0-0x00000000006F0000-0x00000000006FD000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/4156-1-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB