Analysis

  • max time kernel
    147s
  • max time network
    149s
  • 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 12:33

General

  • Target

    JaffaCakes118_03fd0195f7f5445ad12b2e63c3ad7684e90553c779117da8bb7c9876c38aa498.exe

  • Size

    158KB

  • MD5

    e66711396e9e59bd6e7af4fbc5edffc9

  • SHA1

    3b959a56c5e50b57f0dafd949b3acbcbad0fdc63

  • SHA256

    03fd0195f7f5445ad12b2e63c3ad7684e90553c779117da8bb7c9876c38aa498

  • SHA512

    18b7b47268aa87f41403ddcd394fc8ad141b215c7e3ea874ebfc6fc645c877d90221487d371b9c2c58d5ddbe3ef21099d88b0088215c0637115d6f6840b3a6ec

  • SSDEEP

    1536:qaCl+iglHErWOeaAnDt45cNQ6nVGAkzKVuMqYlHHKLoPv+FoU/WlLFD2b31Xls2K:5FqSV7W5D6uMqqHaQv++LFD2bFi2fPq

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_03fd0195f7f5445ad12b2e63c3ad7684e90553c779117da8bb7c9876c38aa498.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_03fd0195f7f5445ad12b2e63c3ad7684e90553c779117da8bb7c9876c38aa498.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3900
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\icifvnmb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4148
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bgfdtzix.exe" C:\Windows\SysWOW64\icifvnmb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3484
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create icifvnmb binPath= "C:\Windows\SysWOW64\icifvnmb\bgfdtzix.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_03fd0195f7f5445ad12b2e63c3ad7684e90553c779117da8bb7c9876c38aa498.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description icifvnmb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3424
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start icifvnmb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2964
    • 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:2960
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3900 -s 1188
      2⤵
      • Program crash
      PID:976
  • C:\Windows\SysWOW64\icifvnmb\bgfdtzix.exe
    C:\Windows\SysWOW64\icifvnmb\bgfdtzix.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_03fd0195f7f5445ad12b2e63c3ad7684e90553c779117da8bb7c9876c38aa498.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2744
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3224
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2744 -s 516
      2⤵
      • Program crash
      PID:3148
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 2744 -ip 2744
    1⤵
      PID:2628
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3900 -ip 3900
      1⤵
        PID:4804

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.4MB

        MD5

        cce63ab16ded2a0fe97b8e6a6297ba7c

        SHA1

        e4c9a17b0f524775d19784cab469f9c6fd112756

        SHA256

        6a15458f99dbd948c73dfda526ab8818a7cadf6474c191fd0e34fede0cbc0ccc

        SHA512

        69a4407d1085590f91e6779ede049c3c9936081ec33ca33fe4d8d394c3e4039bdf3701da4bdbd36b87b762da994abd805ee128c523242648c546809958b702f5

      • memory/2744-7-0x0000000000400000-0x0000000000433000-memory.dmp

        Filesize

        204KB

      • memory/2744-18-0x0000000000400000-0x0000000000433000-memory.dmp

        Filesize

        204KB

      • memory/2744-8-0x0000000000400000-0x0000000000433000-memory.dmp

        Filesize

        204KB

      • memory/2744-6-0x0000000000400000-0x0000000000433000-memory.dmp

        Filesize

        204KB

      • memory/3224-12-0x0000000000610000-0x0000000000625000-memory.dmp

        Filesize

        84KB

      • memory/3224-9-0x0000000000610000-0x0000000000625000-memory.dmp

        Filesize

        84KB

      • memory/3224-19-0x0000000000610000-0x0000000000625000-memory.dmp

        Filesize

        84KB

      • memory/3224-20-0x0000000000610000-0x0000000000625000-memory.dmp

        Filesize

        84KB

      • memory/3224-21-0x0000000000610000-0x0000000000625000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3900-0-0x00000000006E0000-0x00000000006ED000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/3900-15-0x00000000006F0000-0x0000000000703000-memory.dmp

        Filesize

        76KB

      • memory/3900-1-0x00000000006F0000-0x0000000000703000-memory.dmp

        Filesize

        76KB

      • memory/3900-14-0x00000000006E0000-0x00000000006ED000-memory.dmp

        Filesize

        52KB

      • memory/3900-13-0x0000000000400000-0x0000000000433000-memory.dmp

        Filesize

        204KB