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
    23-12-2024 17:57

General

  • Target

    JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe

  • Size

    238KB

  • MD5

    59495123890f405379efb2be1f540734

  • SHA1

    921d2c24a21fdf66e0146b406e03a14922423b07

  • SHA256

    70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934

  • SHA512

    78dbfbcc4c6be158e698022fdbaea8d4b7ef3a63b8b05e0fa93cd3186f63eddba7dcfb3d24bbe11dd199420ec530dc0c8eaebc81121ebfdcaef8eaa839d69643

  • SSDEEP

    6144:qzNQs30ECx6n19V+OEpr5d7ITsq7igavwVf:qRQs34x6n/I1d79

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_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2684
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bmgnnsay\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4512
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pzerytsh.exe" C:\Windows\SysWOW64\bmgnnsay\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bmgnnsay binPath= "C:\Windows\SysWOW64\bmgnnsay\pzerytsh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bmgnnsay "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bmgnnsay
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2284
    • 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:4112
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2684 -s 1248
      2⤵
      • Program crash
      PID:2520
  • C:\Windows\SysWOW64\bmgnnsay\pzerytsh.exe
    C:\Windows\SysWOW64\bmgnnsay\pzerytsh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_70f65b52920189113e1ae0506801ecb171397fb98b092ebe80ae5c683d479934.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5016
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3676
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5016 -s 516
      2⤵
      • Program crash
      PID:440
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 2684 -ip 2684
    1⤵
      PID:1420
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 5016 -ip 5016
      1⤵
        PID:4536

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        ddf0bcc13226fd9e5fc23a8ce5f303c4

        SHA1

        45e9de9325b3a46c28acc0f796ec401fd61ac1e8

        SHA256

        c1ae749c75a5099deb1ef83d49729c7668dcd9a5410b8d7997eaaade3a1501cf

        SHA512

        a217ac449021a3f0c679701b518b6e2ebe6978a085d316e736a90d5578b25255a448eaed7cdd5b22e1ec357113d98ba990cb93a5728eba1ffaaeaeabb85c4711

      • memory/2684-7-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/2684-1-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2684-8-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/2684-0-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

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

        Filesize

        276KB

      • memory/3676-13-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/3676-15-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/3676-16-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/5016-12-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/5016-11-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/5016-10-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/5016-17-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB