Comments (2)
Yes, there is a housekeeping thread in there that once every 5 seconds will clear the page table cache (TLB) and do a partial refresh of the process list.
Once every 15 seconds a complete refresh will be performed.
https://github.com/ufrisk/pcileech/blob/master/pcileech/vmmproc.c#L1209
You may alter the timings around with this PCILeech_VmmConfigGet / PCILeech_VmmConfigSet in the DLL.
Please note however that the TLB refresh is quite important if your target process allocates new virtual memory. But you can try it around changing the values - but setting them too high may lead to problems.
===
As a general note the library is completely single-threaded at the moment. The internal housekeeping thread and all calls to the PCILeech_Vmm* functions compete for the same lock at the moment.
There is quite some potential for improving upon this; and this is something I plan to look into. But I have more pressing matters to look into so I'm not even sure it will be this year.
===
If you just need to check for a value without interruption I guess you can up time timings on this housekeeping thread and whenever you wish to do something else restore it to let it refresh before you do your other tasks...
from pcileech.
Hi @ufrisk , thanks for the fast answer.
I may be wrong but I think I can't alter them directly through PCILeech_VmmConfigSet as I don't have access to the constants ; I will have a look to make it possible.
Anyway in a first step I have tested by changing hard coded values to much higher ones, and hourah it was indeed the root of my freezes! :-)
Thanks.
from pcileech.
Related Issues (20)
- DEVICE: FPGA: ERROR: Unable to retrieve required Device PCIe ID [4,v4.10,0000] HOT 1
- Hi, I'm having some problems initializing the device HOT 11
- Mouse&Keyboard status HOT 1
- read memory size and data problem HOT 3
- After time a module fetched will become unavailable HOT 2
- How to find information about a shared memory section HOT 2
- Using pcileech to move mouse HOT 1
- pci squirrel (Failed to connect to the device.) HOT 4
- DMA freezes every few seconds HOT 4
- Unable to retrieve required Device PCIe ID [4,v4.7,0000,FWCUST] HOT 2
- AMD + Screamer PCIe Squirrel: Probe reads 10% then fails subsequently HOT 1
- ERROR: PCILeech Invalid LeechDMA version number HOT 10
- PCILEECH: Failed to connect to the device. HOT 3
- M.2 Screamer Issue HOT 1
- May I ask if the shell code (WINX64_STAGE23_VMM3) of kmd has an active code? HOT 3
- Can the project be compiled to Linux to use to attack Windows HOT 1
- Specify PageDirectoryBase (DTB/CR3) in -dtb option if value if known. HOT 1
- Can't read anything HOT 1
- LeechAgent.exe not included in release HOT 1
- Connection to the board is lost after 1 use HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pcileech.