-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KAPE modules feature request - file copy #942
Comments
That's called a target. And besides you can write a program to do that if you like and run it via a module. You can do this now, as is, via regex. What am I missing? |
The goal would be to do what's being done through I do know that I can write a program / script to do that, but I think it would be nice to have a way to do it directly into Alternatively, the |
I'll take this opportunity to lay out the intent of the First, a visual aid of what typically gets overlooked because it's buried in the tout folder (understandably so) Using the Module makes it almost impossible for an examiner who looks at the Module output (mout) 100% of the time, as seen below: That being said, I am confused as to why you'd want this to be done for other artifacts. Can you give some specific use cases so I can better understand? It almost seem like you'd just want to run a KapeTriage Target acquisition against a KapeTriage Target acquisition, but with RecreateDirectories disabled and just throw them into a folder? Or even just copying all the files into a raw files folder in your Module output (mout), I guess? I am struggling to understand, so any further color you can provide would be helpful. |
Nothing that specific is getting added to kape directly. |
Thank you for taking the time to explain the There would be other, arguably less important, text-based artifacts (without parsers to date) that come to mind: In a way yes, it would be to re-run (some)
The end goal would be to present the various non-parsed text-based artefacts in a more user-friendly way in Module outputs, in order to consolidate the data, ensure such logs are not overlooked, and to avoid having to browse nested application specific folders. I would argue that it's not that specific considering the prevalence of text-based logs in If it's not added to |
What should happen here is a module that looks for the things you want and does stuff to them. That is the appropriate workflow here. |
Yeah, I would argue that a simple PowerShell script with an array of keywords, i.e. TeamViewer, AnyDesk, etc, could be compiled and then for each file/folder that matches those keywords, copy them all over to your Module destination folder in an appropriately named folder. Definitely not something Eric needs to do but should be pretty easily accomplished with PowerShell.
I have thought of this a few times before previously and not in situations related to this issue, TBH. Having a radio button override, for example, would be helpful so you don't have to go into 50+ Targets to change that. That being said, you could always use PowerShell or something like PowerGREP to replace |
Yes that's what I though doing at first, or various modules with a simple Now I understand that it deviates too much from the standard |
Hello!
It would be great to have a module feature to simply copy files that match a file mask to a destination (for better visibility of the artefacts).
There would be many use cases, notably for text-based logs (PowerShell Console or Transcript, RMM tools, etc.). It is something that has been implemented for the
PowerShell_Move-KAPEConsoleHost_history
module through aPowerShell
script, and I wanted to do the same forPowerShell
transcripts, but I think having the feature built-in directly intoKAPE
would be cleaner and offer better performance.If at all possible, an option to re-use the file masks from existing targets would be a nice addition to avoid duplicating targets and modules.
The text was updated successfully, but these errors were encountered: