Maybe it helps to describe your problem more specifically. Which file extensions are allowed on your forum (Authorized extensions site setting)? By default, only images are allowed. Then requiring approval for posts containing images from users with a low trust level could help (Skip review media groups).
You can also identify such users in the “Top uploads” report in the admin area.