Analysis

  • max time kernel
    145s
  • max time network
    155s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-04-2024 04:52

General

  • Target

    f98cc65337ea6c995f6af7bea54a1b88_JaffaCakes118.exe

  • Size

    13.2MB

  • MD5

    f98cc65337ea6c995f6af7bea54a1b88

  • SHA1

    388096691f92d4cfa2123ea242dcca5b2dbaa542

  • SHA256

    033cc64af4d9e217e27392f016f003250e17ed026595cb682b5504298ef4cc12

  • SHA512

    7037f54701e9ebf699c76f8ff19a19195d004293bbd2d562ddcac86ecea480fbb4bd6f12c2b907f4163b671c22f8d52e47d636692e41995551f6e376755050fb

  • SSDEEP

    49152:J1yvllllllllllllllllllllllllllllllllllllllllllllllllllllllllllln:JA

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).

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f98cc65337ea6c995f6af7bea54a1b88_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f98cc65337ea6c995f6af7bea54a1b88_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1600
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ttpppzu\
      2⤵
        PID:2752
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\erdatglv.exe" C:\Windows\SysWOW64\ttpppzu\
        2⤵
          PID:3908
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ttpppzu binPath= "C:\Windows\SysWOW64\ttpppzu\erdatglv.exe /d\"C:\Users\Admin\AppData\Local\Temp\f98cc65337ea6c995f6af7bea54a1b88_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3904
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ttpppzu "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1056
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ttpppzu
          2⤵
          • Launches sc.exe
          PID:4776
        • 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:1968
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1600 -s 660
          2⤵
          • Program crash
          PID:1404
      • C:\Windows\SysWOW64\ttpppzu\erdatglv.exe
        C:\Windows\SysWOW64\ttpppzu\erdatglv.exe /d"C:\Users\Admin\AppData\Local\Temp\f98cc65337ea6c995f6af7bea54a1b88_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:936
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2436
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 936 -s 528
          2⤵
          • Program crash
          PID:3272
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1600 -ip 1600
        1⤵
          PID:4468
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 552 -p 936 -ip 936
          1⤵
            PID:724
          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=4168 --field-trial-handle=2284,i,15722001240173834669,15048020084704567542,262144 --variations-seed-version /prefetch:8
            1⤵
              PID:3308

            Network

            MITRE ATT&CK Matrix ATT&CK v13

            Persistence

            Create or Modify System Process

            2
            T1543

            Windows Service

            2
            T1543.003

            Boot or Logon Autostart Execution

            1
            T1547

            Registry Run Keys / Startup Folder

            1
            T1547.001

            Privilege Escalation

            Create or Modify System Process

            2
            T1543

            Windows Service

            2
            T1543.003

            Boot or Logon Autostart Execution

            1
            T1547

            Registry Run Keys / Startup Folder

            1
            T1547.001

            Defense Evasion

            Impair Defenses

            1
            T1562

            Disable or Modify System Firewall

            1
            T1562.004

            Modify Registry

            1
            T1112

            Discovery

            Query Registry

            1
            T1012

            System Information Discovery

            2
            T1082

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            • C:\Users\Admin\AppData\Local\Temp\erdatglv.exe
              Filesize

              11.2MB

              MD5

              b4c1f95330b577ff94d711dbe2b90c94

              SHA1

              04d5e19a6d2625789ef3e4e522b18fbeb642b5c9

              SHA256

              b10a9cc44ec2c7bc7208ca985316ac135a3613c929e7369427743ae6bf00af87

              SHA512

              2f65f6c878922cfc0b4a458c724b01528e76890f34e0d29616333c15eda15186a6d462e17873f9ac3e50ec30e0b9c095ff240a58facd045f48001d822cfe9532

            • memory/936-10-0x0000000000DC0000-0x0000000000EC0000-memory.dmp
              Filesize

              1024KB

            • memory/936-12-0x0000000000CA0000-0x0000000000CB3000-memory.dmp
              Filesize

              76KB

            • memory/936-14-0x0000000000400000-0x0000000000C20000-memory.dmp
              Filesize

              8.1MB

            • memory/1600-4-0x0000000000400000-0x0000000000C20000-memory.dmp
              Filesize

              8.1MB

            • memory/1600-2-0x0000000000DB0000-0x0000000000DC3000-memory.dmp
              Filesize

              76KB

            • memory/1600-8-0x0000000000400000-0x0000000000C20000-memory.dmp
              Filesize

              8.1MB

            • memory/1600-1-0x0000000000F60000-0x0000000001060000-memory.dmp
              Filesize

              1024KB

            • memory/2436-9-0x0000000000D40000-0x0000000000D55000-memory.dmp
              Filesize

              84KB

            • memory/2436-16-0x0000000000D40000-0x0000000000D55000-memory.dmp
              Filesize

              84KB

            • memory/2436-18-0x0000000000D40000-0x0000000000D55000-memory.dmp
              Filesize

              84KB

            • memory/2436-19-0x0000000000D40000-0x0000000000D55000-memory.dmp
              Filesize

              84KB

            • memory/2436-20-0x0000000000D40000-0x0000000000D55000-memory.dmp
              Filesize

              84KB