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
    25-12-2024 06:53

General

  • Target

    JaffaCakes118_2041c358dd60883a38ef86aca2312d60b212224630afd4f71f0912fdd9509321.exe

  • Size

    277KB

  • MD5

    2f1636d08eadd59792ff590f7752059c

  • SHA1

    0ba20ef238027d1fb320df79746f5453b1cf3892

  • SHA256

    2041c358dd60883a38ef86aca2312d60b212224630afd4f71f0912fdd9509321

  • SHA512

    0ce40c8db3321bae1fdd882d315a2b146a3388cdfd7381437a827cd02980282e04f001e1c25120305d16300da111133ebdd588dd2b2b2f716c98e4973459a250

  • SSDEEP

    6144:ExmFJ/CjeWZ9qpvqTeU/BmZ9QL47avLE:9f/iHqdqTeaqiL47ag

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_2041c358dd60883a38ef86aca2312d60b212224630afd4f71f0912fdd9509321.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2041c358dd60883a38ef86aca2312d60b212224630afd4f71f0912fdd9509321.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3168
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\suxiuerr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4960
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dfzokgct.exe" C:\Windows\SysWOW64\suxiuerr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1636
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create suxiuerr binPath= "C:\Windows\SysWOW64\suxiuerr\dfzokgct.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2041c358dd60883a38ef86aca2312d60b212224630afd4f71f0912fdd9509321.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description suxiuerr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start suxiuerr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5032
    • 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:620
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3168 -s 1192
      2⤵
      • Program crash
      PID:1148
  • C:\Windows\SysWOW64\suxiuerr\dfzokgct.exe
    C:\Windows\SysWOW64\suxiuerr\dfzokgct.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2041c358dd60883a38ef86aca2312d60b212224630afd4f71f0912fdd9509321.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3892
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4768
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3892 -s 532
      2⤵
      • Program crash
      PID:2464
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3168 -ip 3168
    1⤵
      PID:968
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3892 -ip 3892
      1⤵
        PID:4212

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        137459ab564628430862f0f26b72fefe

        SHA1

        3d4cfc2f6ac747f6c32bcfbb7c3309ddd73a472b

        SHA256

        2f41cd0c91239483c0a9af0a958a3f03f2aa932f1e9ea389ac4da0a64c914434

        SHA512

        619e53b6a8d9cbf6d07c1173b873967e89025dbd7be31f0baa64aa2e2bdf51f600ca2495183283ba219330fffd286089a9f3b7f26a8ec44cc56048889f69782b

      • memory/3168-1-0x0000000002320000-0x0000000002420000-memory.dmp

        Filesize

        1024KB

      • memory/3168-2-0x0000000002160000-0x0000000002173000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3168-8-0x0000000002160000-0x0000000002173000-memory.dmp

        Filesize

        76KB

      • memory/3168-7-0x0000000000400000-0x0000000001FCB000-memory.dmp

        Filesize

        27.8MB

      • memory/3892-15-0x0000000000400000-0x0000000001FCB000-memory.dmp

        Filesize

        27.8MB

      • memory/4768-11-0x0000000000490000-0x00000000004A5000-memory.dmp

        Filesize

        84KB

      • memory/4768-13-0x0000000000490000-0x00000000004A5000-memory.dmp

        Filesize

        84KB

      • memory/4768-14-0x0000000000490000-0x00000000004A5000-memory.dmp

        Filesize

        84KB