News for hackers. Stuff that matters.
Re:YARA – A pattern-matching Swiss knife for malware researc... by xvilka on Tuesday October 22, 2019 @09:47PM (#21330311)
Note, that it can be integrated with radare2[1], the reverse engineering framework and toolset. The integration will allow you to apply and generate YARA signatures from within. There are two plugins - to use radare2 from Yara[2], and Yara from radare2[3]. The second one you can install using the embedded r2 package manager: `r2pm -i yara`

[1] https://github.com/radareorg/radare2

[2] https://r2yara.readthedocs.io/en/latest/

[3] https://github.com/radareorg/radare2-extras/tree/master/yara

Re:YARA – A pattern-matching Swiss knife for malware researc... by saagarjha on Wednesday October 23, 2019 @03:58AM (#21332257)
Fun fact: XProtect on macOS uses YARA to match known malicious software. The database is at /System/Library/CoreServices/XProtect.bundle/Contents/Resources/XProtect.yara if you'd like to look at it yourself.
Re:YARA – A pattern-matching Swiss knife for malware researc... by campfireveteran on Wednesday October 23, 2019 @06:59AM (#21333300)
Yep. And YARA lives at /System/Library/PrivateFrameworks/yara.framework

I had a problem a few years ago with YARA consuming all CPU time while on battery and never finishing whatever it was doing.

Re:YARA – A pattern-matching Swiss knife for malware researc... by campfireveteran on Wednesday October 23, 2019 @06:57AM (#21333293)
On macOS, see also:

   /System/Library/PrivateFrameworks/yara.framework 

   man yara
PS: I wish VirusTotal had a high-rate, free API that could used as the basis for local endpoint scanners.
Re:YARA – A pattern-matching Swiss knife for malware researc... by vuln on Tuesday October 22, 2019 @08:34PM (#21329912)
Love me some Yara. It’s totally the best.
Re:YARA – A pattern-matching Swiss knife for malware researc... by pmoriarty on Wednesday October 23, 2019 @04:51AM (#21332594)
YARA reminds me of the venerable "file" utility, and I wonder if YARA could be used in place of it to identify non-malware files that "file" has trouble identifying.
Re:YARA – A pattern-matching Swiss knife for malware researc... by Pete_D on Wednesday October 23, 2019 @01:08PM (#21336631)
The syntax isn't as nice as YARA's, but you can extend file's capabilities if you need by writing a custom magic file - see 'man 5 magic'.
Re:YARA – A pattern-matching Swiss knife for malware researc... by bane on Wednesday October 23, 2019 @12:37AM (#21331084)
YARA is amazing, anybody have some good collections of rules?
Re:YARA – A pattern-matching Swiss knife for malware researc... by ahje on Wednesday October 23, 2019 @04:04AM (#21332299)
"site:github.com filetype:yar" usually yields a few good ones. It's probably easier if you're more specific as to which specific use case you have in mind.

And yes, Yara is a godsend. :)

Re:YARA – A pattern-matching Swiss knife for malware researc... by jmpman on Wednesday October 23, 2019 @09:20AM (#21334320)
How well do these tools work against code built using obfuscating compilers?
Re:YARA – A pattern-matching Swiss knife for malware researc... by henrygrew on Wednesday October 23, 2019 @09:45AM (#21334551)
YARA - Yet Another Regex App
Re:YARA – A pattern-matching Swiss knife for malware researc... by pwelch on Tuesday October 22, 2019 @10:31PM (#21330515)
Yara is an awesome tool