I'm currently working on a vbscript to do just this, however, please realize that execution of this will take a LONG time per machine. Since I'm not a pro at vbscript I don't have it completed but the general idea is to traverse a filesystem and run a search pattern on each file.
The code I have at this point is as follows:
Set objRegEx = CreateObject("VBScript.RegExp")
objRegEx.Pattern = "[0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9][0-9][0-9]"
Set objNetwork = CreateObject("WScript.Network")
strFilename = objNetwork.ComputerName + "-" + objNetwork.UserName + ".txt"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("C:\temp\test.txt", 1)
WScript.Echo strFileName
i = 0
Do Until objFile.AtEndOfStream
i = i + 1
strSearchString = objFile.ReadLine
Set colMatches = objRegEx.Execute(strSearchString)
If colMatches.Count > 0 Then
For Each strMatch in colMatches
Wscript.Echo "Line " & i & ": " & strSearchString
Next
End If
Loop
objFile.Close
--------------
This will search a "given" file and return the filename you will be dumping the information to and the line number and SSN that was found.
You'll need to finish it by adding code to parse a filesystem recursively and actually write this information to a file but this is the search pattern you need.
Actually you will need 3 different search patterns. This one and one that has no dashes between numbers and one that has spaces between numbers. Those are the 3 commonly used formats for SSNs. Good luck!