Create an account Home  ·  Topics  ·  Downloads  ·  Your Account  ·  Submit News  ·  Top 10  
Modules
· Home
· Content
· FAQ
· Forensic Downloads
· Forensics Feedback
· Forums
· Recommend Us
· Statistics
· Surveys
· Top 10
· Topics
· Training Reviews
· Web Links
· Your Account

Our Membership

Latest: BIGDOG33544
New Today: 3
New Yesterday: 10
Overall: 20871

Computer Forensics
This is a free and open peer to peer medium for digital and computer forensics professionals and students. Please help us maintain it by contributing and perhaps linking to us from your own website.

Recent Posts

 Iowa Laws
 I want to get training and Education
 U.S. law enforcement computer forensics career
 Working on Bachelors now, hoping to move into this field
 I'm really interested in Computer Forensics.Wat should I do?

Computer Forensics World Forums


Pages Served
We received
14260745
page views since August 2004

Security Sources

Firewalls
Cryptography
ISO 17799 ISO 27001
ISO 17799 Toolkit
ISO 27001 & 27000
Disk Analysis
Security Policies

Computer Forensics World: Forums

Computer Forensics World :: View topic - EnCase Grep Expression
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

EnCase Grep Expression

 
Post new topic   Reply to topic    Computer Forensics World Forum Index -> Forensic Software and Tools
View previous topic :: View next topic  
Author Message
forensic42
Newbie
Newbie


Joined: Feb 01, 2010
Posts: 3

PostPosted: Tue Feb 02, 2010 6:46 am    Post subject: EnCase Grep Expression Reply with quote

All - I am trying to create a Grep Expression within EnCase to pick up Keyword1 and Keyword2. For example, my keyword is computer forensics. However, I don't want computer and I don't want forensics. I only want the hits where computer and forensics are both within the same file. Also, the same two words only need to be in the same file - not within one word of each other, etc. Any suggestions would be greatly appreciated!
Back to top
View user's profile
PreferredUser
Newbie
Newbie


Joined: Jan 01, 2007
Posts: 651
Location: Midwest, USA

PostPosted: Tue Feb 02, 2010 7:27 am    Post subject: Reply with quote

What have you tried that does not seem to be working?
Back to top
View user's profile
forensic42
Newbie
Newbie


Joined: Feb 01, 2010
Posts: 3

PostPosted: Tue Feb 02, 2010 7:48 am    Post subject: Reply with quote

After doing some research I tried:

keyword1 +keyword2 - which is supposed to find keyword1 followed by any number of spaces then keyword2. However in my testing it is only doing keyword1 (space) keyword2 (i.e. computer +forensics = computer forensics). I need it to be anywhere within the file and this is not picking up on those scenarios.

I think it has to be something like keyword1 (some number of spaces) then keyword2. Just missing the middle (most vital) part.
Back to top
View user's profile
PreferredUser
Newbie
Newbie


Joined: Jan 01, 2007
Posts: 651
Location: Midwest, USA

PostPosted: Tue Feb 02, 2010 9:02 am    Post subject: Reply with quote

forensic42 wrote:
After doing some research I tried:

keyword1 +keyword2
Which should work.
Try: keyword.otherword

Which should give you keyword followed by any character followed by otherword. The period matches any character.
Back to top
View user's profile
athulin
Newbie
Newbie


Joined: Oct 19, 2007
Posts: 108

PostPosted: Tue Feb 02, 2010 7:25 pm    Post subject: Reply with quote

forensic42 wrote:
I think it has to be something like keyword1 (some number of spaces) then keyword2. Just missing the middle (most vital) part.


EnCase is not known for doing grep expressions particularly well. You don't say what version you are using, so you may be running into known bugs -- I remember one version that tried to optimize grep expressions, but failed for some moderately complex cases. EnCase support should be able to tell you if you are, though.

I think there also is (or perhaps was) a restriction of 512 characters in any expanded pattern expression -- you couldn't match strings larger than 512 bytes.

I've given up on EnCase and grep (I can't rely on my knowledge of Unix grep to work), and generally use the other search alternatives, or even indexing of selected subsets of files. If I do need grep, I export the relevant files so that I can use a trusted grep.
Back to top
View user's profile
forensic42
Newbie
Newbie


Joined: Feb 01, 2010
Posts: 3

PostPosted: Wed Feb 03, 2010 12:23 am    Post subject: Reply with quote

keyword1 +keyword2 as well as keyword1.keyword2 only produce a hit on one of my test files. I had a set of 4 test files, 2 of which contained the keyword1 and keyword2 and the other 2 only contained keyword1. It could be that it is outside of the 512 char limit - I'll have to check. I also will follow up with Guidance to see if I am running into a version containing bugs. Thanks for the suggestions.
Back to top
View user's profile
oxsin
Newbie
Newbie


Joined: Jun 24, 2010
Posts: 1

PostPosted: Fri Jun 25, 2010 11:47 am    Post subject: using grep Reply with quote

use grep for following
eg. i'm searchcing for 2 words.....computer+forensics

computer.{0,254}forensics

where 0 is the minimum charecter space between the first word and 254 is the max. 254 is the max you can use in a grep search.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Computer Forensics World Forum Index -> Forensic Software and Tools All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB 2.0.10 © 2001 phpBB Group
phpBB port v2.1 based on Tom Nitzschner's phpbb2.0.6 upgraded to phpBB 2.0.4 standalone was developed and tested by:
ArtificialIntel, ChatServ, mikem,
sixonetonoffun and Paul Laudanski (aka Zhen-Xjell).

Version 2.1 by Nuke Cops © 2003 http://www.nukecops.com

Forums ©

 

TMs property of their respective owner. Comments property of posters. © 2007 Computer Forensics Science World.
Digital forensic computing news syndication: Computer Forensics Training News or UM Text
Software is copyrighted phpnuke.org (c)2003, and is free under licence agreement. All Rights Are Reserved.