Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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 06:16

General

  • Target

    JaffaCakes118_70c568476aba5ca1e604d7db73d171be61a8df792fd798a76a14c8d9e510a248.exe

  • Size

    138KB

  • MD5

    26b7ae3bc5b08c57a8fabd30e42e2d56

  • SHA1

    23821aa60da21917095f294c5315f3ef7c4a3a19

  • SHA256

    70c568476aba5ca1e604d7db73d171be61a8df792fd798a76a14c8d9e510a248

  • SHA512

    9e890c9476feca005bc41fa84c50533a2a7af2ccef3f1a1e394b26cd02c009450a2139db3d829fa1f338f2f882d53ac1a24ff6575c5296fb1611ca3bae4e930d

  • SSDEEP

    1536:oskF/KbaP0eEGzXLRfduoenpLbrtl2fx85W+esR55ZRjlcs9jU+x0n:3kseEGrFQnxb6f7FS55HjGs9j4

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

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_70c568476aba5ca1e604d7db73d171be61a8df792fd798a76a14c8d9e510a248.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_70c568476aba5ca1e604d7db73d171be61a8df792fd798a76a14c8d9e510a248.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4544
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\saeophal\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2432
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qcxubaao.exe" C:\Windows\SysWOW64\saeophal\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2936
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create saeophal binPath= "C:\Windows\SysWOW64\saeophal\qcxubaao.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_70c568476aba5ca1e604d7db73d171be61a8df792fd798a76a14c8d9e510a248.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1364
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description saeophal "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2580
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start saeophal
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3620
    • 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:3232
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4544 -s 1036
      2⤵
      • Program crash
      PID:4824
  • C:\Windows\SysWOW64\saeophal\qcxubaao.exe
    C:\Windows\SysWOW64\saeophal\qcxubaao.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_70c568476aba5ca1e604d7db73d171be61a8df792fd798a76a14c8d9e510a248.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4896
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4888
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4896 -s 528
      2⤵
      • Program crash
      PID:868
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4544 -ip 4544
    1⤵
      PID:3556
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4896 -ip 4896
      1⤵
        PID:3208

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        79702bef403e90e76ef4b35e97c9b492

        SHA1

        78dcb259cf1ebfdf374f629fa332ef9eeb2ac9d9

        SHA256

        9975d383dfa7108963adc5c823c4380af3ab33c41cff54f17beb9f909aaf636e

        SHA512

        d076171f22856718a6ab033c972b0cb8306f4f35344381776576dd2de27b9b73c222d9c98f5abf21eab14b5a061b78caadefc203ac69ba69bac8466a30be2a6d

      • memory/4544-8-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

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

        Filesize

        84KB

      • memory/4544-2-0x00000000020C0000-0x00000000020D3000-memory.dmp

        Filesize

        76KB

      • memory/4544-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4544-9-0x00000000020C0000-0x00000000020D3000-memory.dmp

        Filesize

        76KB

      • memory/4544-1-0x0000000000620000-0x0000000000720000-memory.dmp

        Filesize

        1024KB

      • memory/4888-14-0x00000000004B0000-0x00000000004C5000-memory.dmp

        Filesize

        84KB

      • memory/4888-16-0x00000000004B0000-0x00000000004C5000-memory.dmp

        Filesize

        84KB

      • memory/4888-17-0x00000000004B0000-0x00000000004C5000-memory.dmp

        Filesize

        84KB

      • memory/4896-11-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/4896-13-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/4896-12-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB

      • memory/4896-18-0x0000000000400000-0x00000000004A9000-memory.dmp

        Filesize

        676KB