Obama takes offensive against terror