Analysis

  • max time kernel
    150s
  • 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, 20:18

General

  • Target

    JaffaCakes118_4d9b3eaae7f591289d07eb6df10c78b68ad583b011ece723d4aaa669e19d8e58.exe

  • Size

    286KB

  • MD5

    30f334034890bf4e9978e88c3a8d289e

  • SHA1

    c01f11ade66a776369c5e661ade581f5141f7e53

  • SHA256

    4d9b3eaae7f591289d07eb6df10c78b68ad583b011ece723d4aaa669e19d8e58

  • SHA512

    b3278c0ffca87a27d3bc80743a80b830cf94d88bee4791e21d1a0d9f31d719593e993ca897e86cb0d2b9262745bad7a5db04feab3ec2ad0de5640131863fc774

  • SSDEEP

    3072:FFVyYf0kx6mLP1mrJpQ6mld1JCHyOzoLOS7XuWVOO5Z8jVw7DWk7MW+CJUBU4wuj:7Smz1UJ50JCHyU0XGUZiVOCYBJh4b

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_4d9b3eaae7f591289d07eb6df10c78b68ad583b011ece723d4aaa669e19d8e58.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4d9b3eaae7f591289d07eb6df10c78b68ad583b011ece723d4aaa669e19d8e58.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1072
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fyjorjiz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3620
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gznzrlna.exe" C:\Windows\SysWOW64\fyjorjiz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fyjorjiz binPath= "C:\Windows\SysWOW64\fyjorjiz\gznzrlna.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4d9b3eaae7f591289d07eb6df10c78b68ad583b011ece723d4aaa669e19d8e58.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4196
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fyjorjiz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1924
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fyjorjiz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1512
    • 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:4172
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1072 -s 1048
      2⤵
      • Program crash
      PID:4584
  • C:\Windows\SysWOW64\fyjorjiz\gznzrlna.exe
    C:\Windows\SysWOW64\fyjorjiz\gznzrlna.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4d9b3eaae7f591289d07eb6df10c78b68ad583b011ece723d4aaa669e19d8e58.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3636
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5060
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3636 -s 532
      2⤵
      • Program crash
      PID:1588
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 1072 -ip 1072
    1⤵
      PID:3184
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3636 -ip 3636
      1⤵
        PID:5116

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        31b7119be5648c5fb8c27359e15af0c5

        SHA1

        1238cc40f895de8124459cfb75c710ec5142fe26

        SHA256

        d9dab5d279851ccbce234345de0c5683d1745656f5fbc3a7147d5292995432f3

        SHA512

        0bb8353c557d50d7b561c6e6419f1dcbc3e28dea64e084b2ab00a419d0dac61f05da09004a4f419f672a8b023c379233614d4fc6d519616b3b47809e5645e1b5

      • memory/1072-2-0x0000000002D00000-0x0000000002D13000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1072-1-0x0000000002BA0000-0x0000000002CA0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/1072-8-0x0000000002D00000-0x0000000002D13000-memory.dmp

        Filesize

        76KB

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

        Filesize

        39.2MB

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

        Filesize

        39.2MB

      • memory/5060-13-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

        Filesize

        84KB

      • memory/5060-14-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

        Filesize

        84KB

      • memory/5060-11-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

        Filesize

        84KB