Analysis

  • max time kernel
    151s
  • max time network
    153s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-04-2024 08:36

General

  • Target

    f9ec5ae920b6df2fdc1fc070bd598b1a_JaffaCakes118.exe

  • Size

    14.7MB

  • MD5

    f9ec5ae920b6df2fdc1fc070bd598b1a

  • SHA1

    798a610c2aa02e0f0b58920a72febd23cae00f64

  • SHA256

    6670134716742f25ab7cfdb33b8c7f0bf13b7d1e91e7874dc20453e4db6ac5d2

  • SHA512

    73976041df720c3dac6fbc9c78bed41ab1ca9e18ffde3c0f4ad8d3e042a02a0b3e2568a1dbca8a6d86ece2ba0a683876af5ca11f9cdd656364c09b450790a6a7

  • SSDEEP

    98304:ONWUlllllllllllllllllllllllllllllllllllllllllllllllllllllllllll7:cW

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 1 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f9ec5ae920b6df2fdc1fc070bd598b1a_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f9ec5ae920b6df2fdc1fc070bd598b1a_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2724
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lhsqlpc\
      2⤵
        PID:1720
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lhzzwlky.exe" C:\Windows\SysWOW64\lhsqlpc\
        2⤵
          PID:2824
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lhsqlpc binPath= "C:\Windows\SysWOW64\lhsqlpc\lhzzwlky.exe /d\"C:\Users\Admin\AppData\Local\Temp\f9ec5ae920b6df2fdc1fc070bd598b1a_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1656
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description lhsqlpc "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3252
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lhsqlpc
          2⤵
          • Launches sc.exe
          PID:4676
        • 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
          PID:4848
      • C:\Windows\SysWOW64\lhsqlpc\lhzzwlky.exe
        C:\Windows\SysWOW64\lhsqlpc\lhzzwlky.exe /d"C:\Users\Admin\AppData\Local\Temp\f9ec5ae920b6df2fdc1fc070bd598b1a_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4024
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2208

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.0MB

        MD5

        3b5bb14d7c307d31e6105e0dcff70eed

        SHA1

        5e3c0d3b3ab373ee36d4d437ae3e8790d2b597dc

        SHA256

        e5b180c5178399886687232046b24f70ebd88ce1d5769ad02672f2048c906cb9

        SHA512

        1d61c900880848415b13c55a0ee6063de514603c217b21e2d29e4867ee3d81b87e23cb8ebb604b89252c15080b4bef29d302cc1a73efb8e47eae9e40df2b6b87

      • memory/2208-18-0x0000000000C20000-0x0000000000C35000-memory.dmp

        Filesize

        84KB

      • memory/2208-11-0x0000000000C20000-0x0000000000C35000-memory.dmp

        Filesize

        84KB

      • memory/2208-15-0x0000000000C20000-0x0000000000C35000-memory.dmp

        Filesize

        84KB

      • memory/2208-19-0x0000000000C20000-0x0000000000C35000-memory.dmp

        Filesize

        84KB

      • memory/2208-17-0x0000000000C20000-0x0000000000C35000-memory.dmp

        Filesize

        84KB

      • memory/2724-2-0x0000000005410000-0x0000000005423000-memory.dmp

        Filesize

        76KB

      • memory/2724-4-0x0000000000400000-0x00000000036CD000-memory.dmp

        Filesize

        50.8MB

      • memory/2724-6-0x0000000000400000-0x00000000036CD000-memory.dmp

        Filesize

        50.8MB

      • memory/2724-8-0x0000000005410000-0x0000000005423000-memory.dmp

        Filesize

        76KB

      • memory/2724-1-0x00000000036E0000-0x00000000037E0000-memory.dmp

        Filesize

        1024KB

      • memory/4024-10-0x0000000003770000-0x0000000003870000-memory.dmp

        Filesize

        1024KB

      • memory/4024-14-0x0000000000400000-0x00000000036CD000-memory.dmp

        Filesize

        50.8MB

      • memory/4024-16-0x0000000000400000-0x00000000036CD000-memory.dmp

        Filesize

        50.8MB