Supervised learning: classifying/learning a single discrete value
I don't really see this as a learning problem really, if it's the same malicious value you have to watch out for..

Only one "positive" sample (corresponding to the malicious value) would be enough to find the malicious integer.

Have I misunderstood something in your question?