Analysis

  • max time kernel
    148s
  • max time network
    137s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220721-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220721-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-07-2022 16:52

General

  • Target

    5527e07895f412771ae4350dfa825e5d08140073600ebd6aa321276b737cc839.exe

  • Size

    106KB

  • MD5

    8c122278e768601f20f1e9f6c407cce2

  • SHA1

    a3f99a111ad0a22614a10337ef807607262aea61

  • SHA256

    5527e07895f412771ae4350dfa825e5d08140073600ebd6aa321276b737cc839

  • SHA512

    11a1e995193b09ca342bb7a0c3203c0a41b7d83260666b8ac460c14c7c74c8683b00e407ddb97cceba87fb442635807b70eb9581326f886e6b673bee72096173

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
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 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.

  • 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). Likely ransomware behaviour.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5527e07895f412771ae4350dfa825e5d08140073600ebd6aa321276b737cc839.exe
    "C:\Users\Admin\AppData\Local\Temp\5527e07895f412771ae4350dfa825e5d08140073600ebd6aa321276b737cc839.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3396
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uwzrmkqm\
      2⤵
        PID:1688
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ysurlhrw.exe" C:\Windows\SysWOW64\uwzrmkqm\
        2⤵
          PID:2904
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create uwzrmkqm binPath= "C:\Windows\SysWOW64\uwzrmkqm\ysurlhrw.exe /d\"C:\Users\Admin\AppData\Local\Temp\5527e07895f412771ae4350dfa825e5d08140073600ebd6aa321276b737cc839.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3376
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description uwzrmkqm "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3532
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start uwzrmkqm
          2⤵
          • Launches sc.exe
          PID:4228
        • 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:5020
      • C:\Windows\SysWOW64\uwzrmkqm\ysurlhrw.exe
        C:\Windows\SysWOW64\uwzrmkqm\ysurlhrw.exe /d"C:\Users\Admin\AppData\Local\Temp\5527e07895f412771ae4350dfa825e5d08140073600ebd6aa321276b737cc839.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4616
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:2680

      Network

      MITRE ATT&CK Matrix ATT&CK v6

      Persistence

      New Service

      1
      T1050

      Modify Existing Service

      1
      T1031

      Registry Run Keys / Startup Folder

      1
      T1060

      Privilege Escalation

      New Service

      1
      T1050

      Defense Evasion

      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\ysurlhrw.exe
        Filesize

        11.3MB

        MD5

        946b1dfa70090d84f19abf737f686a88

        SHA1

        9b31c5d38718423846b156602fd117bb8a76fa94

        SHA256

        733f07c33a9da25641f1d3bb294a0717dd7c01c891b2b983853bdf74d466a8cc

        SHA512

        692593e331e1b520577c1fbffd976989c4d7af13d412f6258a01b59017bb40ad397ab45b048f251795c26bb3ff84cf31336b6ef272983f78f243a1ff93732e8c

      • C:\Windows\SysWOW64\uwzrmkqm\ysurlhrw.exe
        Filesize

        11.3MB

        MD5

        946b1dfa70090d84f19abf737f686a88

        SHA1

        9b31c5d38718423846b156602fd117bb8a76fa94

        SHA256

        733f07c33a9da25641f1d3bb294a0717dd7c01c891b2b983853bdf74d466a8cc

        SHA512

        692593e331e1b520577c1fbffd976989c4d7af13d412f6258a01b59017bb40ad397ab45b048f251795c26bb3ff84cf31336b6ef272983f78f243a1ff93732e8c

      • memory/1688-132-0x0000000000000000-mapping.dmp
      • memory/2680-143-0x0000000000EB0000-0x0000000000EC5000-memory.dmp
        Filesize

        84KB

      • memory/2680-147-0x0000000000EB0000-0x0000000000EC5000-memory.dmp
        Filesize

        84KB

      • memory/2680-146-0x0000000000EB0000-0x0000000000EC5000-memory.dmp
        Filesize

        84KB

      • memory/2680-142-0x0000000000000000-mapping.dmp
      • memory/2904-133-0x0000000000000000-mapping.dmp
      • memory/3376-135-0x0000000000000000-mapping.dmp
      • memory/3396-131-0x0000000000400000-0x000000000041E000-memory.dmp
        Filesize

        120KB

      • memory/3396-130-0x0000000000400000-0x000000000041E000-memory.dmp
        Filesize

        120KB

      • memory/3532-136-0x0000000000000000-mapping.dmp
      • memory/4228-137-0x0000000000000000-mapping.dmp
      • memory/4616-139-0x0000000000400000-0x000000000041E000-memory.dmp
        Filesize

        120KB

      • memory/4616-141-0x0000000000400000-0x000000000041E000-memory.dmp
        Filesize

        120KB

      • memory/5020-140-0x0000000000000000-mapping.dmp