OSQL.EXE

by Microsoft
Database

Sources: 300M+ executions observed in the wild.

Summary

SQL Server command-line query tool (legacy)

OSQL.EXE is the 2463rd most commonly executed Windows program in EchoTrail's dataset, observed 174 times across enterprise environments. It typically runs from D:\Program Files\Microsoft SQL Server\120\Tools\Binn and it is most often launched by cmd.exe.

Get this in your tools

The same record for osql.exe, by REST or as an MCP tool. Free key, no card.

Get a free key
curl -H "Authorization: Bearer $ECHOTRAIL_KEY" \
  https://api.echotrail.io/v1/process/osql.exe

Free returns the summary. Team returns the full record you see on this page. Endpoint docs

2463rd
most commonly executed Windows program
174
observed endpoint executions

Behavior

Top Paths

  • D:\Program Files\Microsoft SQL Server\120\Tools\Binn81.61%
  • D:\Program Files\Microsoft SQL Server\150\Tools\Binn18.39%

Top Hashes (SHA256)

  • ae5266af15a59ad176cd7aeafa46de5c1c891f772f133c3adc22f4106fb265bd58.62%
  • 17c0334fefa256379e3b6406bfc473c077021f34bf58f9aea4245623f78d5d9e22.99%
  • bce36b51e0f5c35d6f55ddebf9dfb06e0a09498335f513cdadc5f1974e6463f211.49%
  • 3f68013836973513633c65277d9ec9de5d104870e212eaaf5077ce892d6a04935.75%
  • 98da714fc30de334691deff5b535208663f3baddbabb70f31559d977b83c02dc1.15%

Process Ancestry

Top Parents

Ask Rocky about OSQL.EXE

Rocky is the free chat demo. It answers from this same dataset, no account needed.

This page is the Team-tier API record for OSQL.EXE. The free tier returns the summary, 500 lookups a month. Or ask Rocky.