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 23:35

General

  • Target

    JaffaCakes118_e1eb7fe372b39f889e1ca5e172ccc94e1549a421b5c396301d6e8745554cc090.exe

  • Size

    328KB

  • MD5

    89f39e311ddd79b59a40af182fba5d26

  • SHA1

    3e31861cac289a22a617cec2f0274bf6c4d3f83b

  • SHA256

    e1eb7fe372b39f889e1ca5e172ccc94e1549a421b5c396301d6e8745554cc090

  • SHA512

    d8e9245483de0588da7418020a9d96a04a59004f8cebf036256e25c87af5144f97412177d08ddd4424b071d69eb9b5b5185fbe67e6655664714d4d617fb9e289

  • SSDEEP

    6144:WAiKWhKNQ7hHkBNQvbNAJIZMVfwoxounXLd+xf1ECx++pscM0q8:WAi3hHhHkBuYdnXLd+xyC0MD

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_e1eb7fe372b39f889e1ca5e172ccc94e1549a421b5c396301d6e8745554cc090.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e1eb7fe372b39f889e1ca5e172ccc94e1549a421b5c396301d6e8745554cc090.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nihtccfh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2232
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\obkhinzm.exe" C:\Windows\SysWOW64\nihtccfh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nihtccfh binPath= "C:\Windows\SysWOW64\nihtccfh\obkhinzm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e1eb7fe372b39f889e1ca5e172ccc94e1549a421b5c396301d6e8745554cc090.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5032
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nihtccfh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nihtccfh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3920
    • 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:4476
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1972 -s 1264
      2⤵
      • Program crash
      PID:4532
  • C:\Windows\SysWOW64\nihtccfh\obkhinzm.exe
    C:\Windows\SysWOW64\nihtccfh\obkhinzm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e1eb7fe372b39f889e1ca5e172ccc94e1549a421b5c396301d6e8745554cc090.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5048
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3360
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5048 -s 508
      2⤵
      • Program crash
      PID:1604
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1972 -ip 1972
    1⤵
      PID:3412
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 5048 -ip 5048
      1⤵
        PID:1104

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        100646e3e5f368cf0edfa9f1a30fd72b

        SHA1

        eabbc01a0bb13afa3454a46bc9181dc446edc534

        SHA256

        f036cb1f213a5b22abc67a1d751833953ca745e4b3f6420b6e5b3d480864674d

        SHA512

        a2179c01a43e5c5078bfcd269f5efe45ae6f6d1ecb8bd162897a160df75d88ec0cac8d0e2fe152d626c6917dcbecd1c2844154ccc400ac61c6ae21782ae49e1c

      • memory/1972-1-0x00000000026D0000-0x00000000027D0000-memory.dmp

        Filesize

        1024KB

      • memory/1972-2-0x0000000002650000-0x0000000002663000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1972-8-0x0000000002650000-0x0000000002663000-memory.dmp

        Filesize

        76KB

      • memory/1972-7-0x0000000000400000-0x00000000023A8000-memory.dmp

        Filesize

        31.7MB

      • memory/3360-11-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

      • memory/3360-13-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

      • memory/3360-14-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

      • memory/5048-15-0x0000000000400000-0x00000000023A8000-memory.dmp

        Filesize

        31.7MB